Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 902:35ce47084c84
Fix arg in string
author | Chris Cannam |
---|---|
date | Fri, 16 Jan 2015 17:02:55 +0000 |
parents | 509b4649b172 |
children | c08df7de50f6 |
comparison
equal
deleted
inserted
replaced
901:d0f7667b69f1 | 902:35ce47084c84 |
---|---|
3398 | 3398 |
3399 if (!saveSessionFile(path)) { | 3399 if (!saveSessionFile(path)) { |
3400 QMessageBox::critical(this, tr("Failed to save file"), | 3400 QMessageBox::critical(this, tr("Failed to save file"), |
3401 tr("<b>Save failed</b><p>Session file \"%1\" could not be saved.").arg(path)); | 3401 tr("<b>Save failed</b><p>Session file \"%1\" could not be saved.").arg(path)); |
3402 } else { | 3402 } else { |
3403 setWindowTitle(tr("%1: %1") | 3403 setWindowTitle(tr("%1: %2") |
3404 .arg(QApplication::applicationName()) | 3404 .arg(QApplication::applicationName()) |
3405 .arg(QFileInfo(path).fileName())); | 3405 .arg(QFileInfo(path).fileName())); |
3406 m_sessionFile = path; | 3406 m_sessionFile = path; |
3407 CommandHistory::getInstance()->documentSaved(); | 3407 CommandHistory::getInstance()->documentSaved(); |
3408 documentRestored(); | 3408 documentRestored(); |