diff options
author | Sky <git@bunnies.cc> | 2013-10-26 08:38:21 +0100 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-10-26 08:38:21 +0100 |
commit | c467ebf1327d6266fc51443edfac6f0b536b6602 (patch) | |
tree | 975225cfc5981d9f8e5b79ba224db02782aa4faf /gui | |
parent | 0430a2a38fe3b6a18dc13090c236272fbb85df0b (diff) | |
download | MultiMC-c467ebf1327d6266fc51443edfac6f0b536b6602.tar MultiMC-c467ebf1327d6266fc51443edfac6f0b536b6602.tar.gz MultiMC-c467ebf1327d6266fc51443edfac6f0b536b6602.tar.lz MultiMC-c467ebf1327d6266fc51443edfac6f0b536b6602.tar.xz MultiMC-c467ebf1327d6266fc51443edfac6f0b536b6602.zip |
Fix "no windows means MMC exits prematurely" issue
Diffstat (limited to 'gui')
-rw-r--r-- | gui/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index ff1ac68a..46fd5bd7 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -444,6 +444,7 @@ void MainWindow::closeEvent(QCloseEvent *event) // settings->getConfig().setValue("MainWindowGeometry", saveGeometry()); // settings->getConfig().setValue("MainWindowState", saveState()); QMainWindow::closeEvent(event); + QApplication::exit(); } /* void MainWindow::on_instanceView_customContextMenuRequested(const QPoint &pos) |