diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 93ea3d615..d8e786b86 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -150,9 +150,10 @@ void MainWindow::on_actionPreferences_triggered() void MainWindow::on_actionQuit_triggered() { - qDebug("actionQuit"); if (unsaved_changes() && (askSaveChanges() == FALSE)) return; + writeSettings(); + QApplication::quit(); } void MainWindow::on_actionDownloadDC_triggered() |