Qt: Ensure fullscreen UI is stopped on exiting

This commit is contained in:
Stenzek 2024-07-21 20:29:38 +10:00
parent 2938602d75
commit 533022bb7d
No known key found for this signature in database

View file

@ -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();