mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-22 01:50:06 +00:00
Qt: Fix fullscreen UI shutdown on language change
This commit is contained in:
parent
278614a415
commit
ad53fc2345
@ -2654,8 +2654,11 @@ void MainWindow::closeEvent(QCloseEvent* event)
|
|||||||
if (!s_system_valid)
|
if (!s_system_valid)
|
||||||
{
|
{
|
||||||
QtUtils::SaveWindowGeometry("MainWindow", this);
|
QtUtils::SaveWindowGeometry("MainWindow", this);
|
||||||
if (s_fullscreen_ui_started)
|
|
||||||
|
// surfaceless for language change
|
||||||
|
if (s_fullscreen_ui_started && !g_emu_thread->isSurfaceless())
|
||||||
g_emu_thread->stopFullscreenUI();
|
g_emu_thread->stopFullscreenUI();
|
||||||
|
|
||||||
destroySubWindows();
|
destroySubWindows();
|
||||||
QMainWindow::closeEvent(event);
|
QMainWindow::closeEvent(event);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user