Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 84:41c491657587
* Further fix for restoring layer visibility from session file
* Better handling of error state in bzip file device to avoid spurious errors
* Fix #1495001 deleted layers prevail in saved session file
author | Chris Cannam |
---|---|
date | Fri, 05 Jan 2007 15:49:10 +0000 |
parents | d82e332cb178 |
children | 4eae5b521a34 |
line wrap: on
line diff
--- a/main/MainWindow.cpp Fri Jan 05 14:46:45 2007 +0000 +++ b/main/MainWindow.cpp Fri Jan 05 15:49:10 2007 +0000 @@ -2873,7 +2873,7 @@ QApplication::restoreOverrideCursor(); - if (bzFile.errorString() != "") { + if (!bzFile.isOK()) { QMessageBox::critical(this, tr("Failed to write file"), tr("Failed to write to file \"%1\": %2") .arg(path).arg(bzFile.errorString()));