comparison main/MainWindow.cpp @ 79:c1318aac18d2

* Fix apparent (but not actual) failure to save session file * Fix doofusness in FFT model (N/2 vs N/2+1) -- need to review use of this model in spectrogram
author Chris Cannam
date Fri, 08 Dec 2006 18:17:29 +0000
parents bedc7517b6e8
children f4f52566e451
comparison
equal deleted inserted replaced
78:9918c8a3f904 79:c1318aac18d2
2617 good = true; 2617 good = true;
2618 } 2618 }
2619 2619
2620 if (!saveSessionFile(path)) { 2620 if (!saveSessionFile(path)) {
2621 QMessageBox::critical(this, tr("Failed to save file"), 2621 QMessageBox::critical(this, tr("Failed to save file"),
2622 tr("Session file \"%1\" could not be saved.").arg(m_sessionFile)); 2622 tr("Session file \"%1\" could not be saved.").arg(path));
2623 } else { 2623 } else {
2624 setWindowTitle(tr("Sonic Visualiser: %1") 2624 setWindowTitle(tr("Sonic Visualiser: %1")
2625 .arg(QFileInfo(path).fileName())); 2625 .arg(QFileInfo(path).fileName()));
2626 m_sessionFile = path; 2626 m_sessionFile = path;
2627 CommandHistory::getInstance()->documentSaved(); 2627 CommandHistory::getInstance()->documentSaved();