changeset 750:394caa98d21a tonioni

Use application name in key & mouse reference instead of hardcoding SV
author Chris Cannam
date Mon, 31 Mar 2014 10:20:21 +0100
parents 03423269a9d0
children 34c1203d21b5 efbb6b8f943b
files widgets/KeyReference.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/widgets/KeyReference.cpp	Thu Mar 27 18:12:38 2014 +0000
+++ b/widgets/KeyReference.cpp	Mon Mar 31 10:20:21 2014 +0100
@@ -172,7 +172,8 @@
     m_text->setReadOnly(true);
 
     m_dialog = new QDialog;
-    m_dialog->setWindowTitle(tr("Sonic Visualiser: Key and Mouse Reference"));
+    m_dialog->setWindowTitle(tr("%1: Key and Mouse Reference")
+                             .arg(QApplication::applicationName()));
 
     QVBoxLayout *layout = new QVBoxLayout;
     m_dialog->setLayout(layout);