diff main/MainWindow.cpp @ 2027:c669b40a8d56

Minor debug output change
author Chris Cannam
date Tue, 02 Oct 2018 16:41:23 +0100
parents 2ec57b30fffe
children 4db75d584e5a
line wrap: on
line diff
--- a/main/MainWindow.cpp	Tue Oct 02 11:58:27 2018 +0100
+++ b/main/MainWindow.cpp	Tue Oct 02 16:41:23 2018 +0100
@@ -3580,16 +3580,16 @@
 void
 MainWindow::closeEvent(QCloseEvent *e)
 {
-//    cerr << "MainWindow::closeEvent" << endl;
+    SVDEBUG << "MainWindow::closeEvent" << endl;
 
     if (m_openingAudioFile) {
-//        cerr << "Busy - ignoring close event" << endl;
+        SVCERR << "Busy - ignoring close event" << endl;
         e->ignore();
         return;
     }
 
     if (!m_abandoning && !checkSaveModified()) {
-//        cerr << "Close refused by user - ignoring close event" << endl;
+        SVCERR << "Close refused by user - ignoring close event" << endl;
         e->ignore();
         return;
     }