mirror of https://github.com/PCSX2/pcsx2.git
Qt: Ensure fullscreen UI is stopped on exiting
Backport from: 533022bb7d
This commit is contained in:
parent
5536342f9d
commit
973c522756
|
@ -586,6 +586,10 @@ void MainWindow::quit()
|
||||||
QApplication::processEvents(QEventLoop::ExcludeUserInputEvents, 1);
|
QApplication::processEvents(QEventLoop::ExcludeUserInputEvents, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Big picture might still be active.
|
||||||
|
if (m_display_created)
|
||||||
|
g_emu_thread->stopFullscreenUI();
|
||||||
|
|
||||||
// Ensure subwindows are removed before quitting. That way the log window cancelling
|
// Ensure subwindows are removed before quitting. That way the log window cancelling
|
||||||
// the close event won't cancel the quit process.
|
// the close event won't cancel the quit process.
|
||||||
destroySubWindows();
|
destroySubWindows();
|
||||||
|
|
Loading…
Reference in New Issue