Qt: go out of fullsceen if exit game pop up is triggered
This commit is contained in:
@@ -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]()
|
||||||
|
|||||||
Reference in New Issue
Block a user