From 533022bb7d27446b65c12a6f39d35c5c5d9ec9d8 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 21 Jul 2024 20:29:38 +1000 Subject: [PATCH] Qt: Ensure fullscreen UI is stopped on exiting --- src/duckstation-qt/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/duckstation-qt/mainwindow.cpp b/src/duckstation-qt/mainwindow.cpp index 719e51b5c..9ed44c590 100644 --- a/src/duckstation-qt/mainwindow.cpp +++ b/src/duckstation-qt/mainwindow.cpp @@ -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();