mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-31 19:55:38 +00:00
Qt: Ensure fullscreen UI is stopped on exiting
This commit is contained in:
parent
2938602d75
commit
533022bb7d
|
@ -714,6 +714,10 @@ void MainWindow::quit()
|
|||
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
|
||||
// the close event won't cancel the quit process.
|
||||
destroySubWindows();
|
||||
|
|
Loading…
Reference in a new issue