Qt: Don't invoke quit() from closeEvent()

This commit is contained in:
Stenzek 2024-03-23 02:25:39 +10:00 committed by Connor McLaughlin
parent 8ae01f642f
commit fb1a5eab7e
1 changed files with 2 additions and 1 deletions

View File

@ -1975,7 +1975,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
saveStateToConfig();
if (m_display_created)
g_emu_thread->stopFullscreenUI();
quit();
destroySubWindows();
QMainWindow::closeEvent(event);
return;
}