mirror of https://github.com/PCSX2/pcsx2.git
Qt: Don't invoke quit() from closeEvent()
This commit is contained in:
parent
8ae01f642f
commit
fb1a5eab7e
|
@ -1975,7 +1975,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
|
||||||
saveStateToConfig();
|
saveStateToConfig();
|
||||||
if (m_display_created)
|
if (m_display_created)
|
||||||
g_emu_thread->stopFullscreenUI();
|
g_emu_thread->stopFullscreenUI();
|
||||||
quit();
|
destroySubWindows();
|
||||||
|
QMainWindow::closeEvent(event);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue