changeset 902:35ce47084c84

Fix arg in string
author Chris Cannam
date Fri, 16 Jan 2015 17:02:55 +0000
parents d0f7667b69f1
children 6d3220e7ecef 08c805e53fc0
files main/MainWindow.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Mon Dec 15 16:08:26 2014 +0000
+++ b/main/MainWindow.cpp	Fri Jan 16 17:02:55 2015 +0000
@@ -3400,7 +3400,7 @@
 	QMessageBox::critical(this, tr("Failed to save file"),
 			      tr("<b>Save failed</b><p>Session file \"%1\" could not be saved.").arg(path));
     } else {
-	setWindowTitle(tr("%1: %1")
+	setWindowTitle(tr("%1: %2")
                        .arg(QApplication::applicationName())
 		       .arg(QFileInfo(path).fileName()));
 	m_sessionFile = path;