Qt: go out of fullsceen if exit game pop up is triggered

This commit is contained in:
Megamouse 2019-02-24 16:03:25 +01:00
parent 258df80bf6
commit bb0609372d
1 changed files with 5 additions and 0 deletions

View File

@ -493,6 +493,11 @@ bool gs_frame::event(QEvent* ev)
{ {
if (m_gui_settings->GetValue(gui::ib_confirm_exit).toBool()) if (m_gui_settings->GetValue(gui::ib_confirm_exit).toBool())
{ {
if (visibility() == FullScreen)
{
toggle_fullscreen();
}
int result; int result;
Emu.CallAfter([this, &result]() Emu.CallAfter([this, &result]()