comparison 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
comparison
equal deleted inserted replaced
2026:d3729faca2ca 2027:c669b40a8d56
3578 } 3578 }
3579 3579
3580 void 3580 void
3581 MainWindow::closeEvent(QCloseEvent *e) 3581 MainWindow::closeEvent(QCloseEvent *e)
3582 { 3582 {
3583 // cerr << "MainWindow::closeEvent" << endl; 3583 SVDEBUG << "MainWindow::closeEvent" << endl;
3584 3584
3585 if (m_openingAudioFile) { 3585 if (m_openingAudioFile) {
3586 // cerr << "Busy - ignoring close event" << endl; 3586 SVCERR << "Busy - ignoring close event" << endl;
3587 e->ignore(); 3587 e->ignore();
3588 return; 3588 return;
3589 } 3589 }
3590 3590
3591 if (!m_abandoning && !checkSaveModified()) { 3591 if (!m_abandoning && !checkSaveModified()) {
3592 // cerr << "Close refused by user - ignoring close event" << endl; 3592 SVCERR << "Close refused by user - ignoring close event" << endl;
3593 e->ignore(); 3593 e->ignore();
3594 return; 3594 return;
3595 } 3595 }
3596 3596
3597 QSettings settings; 3597 QSettings settings;