Qt: Stop fullscreen UI on window close

This commit is contained in:
Stenzek 2023-09-04 21:18:37 +10:00 committed by Connor McLaughlin
parent 7b45e9296a
commit 97155c50c4
1 changed files with 2 additions and 0 deletions

View File

@ -1730,6 +1730,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
if (!s_vm_valid)
{
saveStateToConfig();
if (m_display_widget)
g_emu_thread->stopFullscreenUI();
QMainWindow::closeEvent(event);
return;
}