Merge pull request #7066 from spycrab/qt_fs_exit

Qt: Always return to windowed when confirming exit
This commit is contained in:
Léo Lam 2018-06-04 20:48:22 +02:00 committed by GitHub
commit 2a89ad9c39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -624,13 +624,9 @@ bool MainWindow::RequestStop()
} }
if (!m_render_widget->isFullScreen()) if (!m_render_widget->isFullScreen())
{
m_render_widget_geometry = m_render_widget->saveGeometry(); m_render_widget_geometry = m_render_widget->saveGeometry();
} else
else if (g_ActiveConfig.ExclusiveFullscreenEnabled())
{
FullScreen(); FullScreen();
}
if (SConfig::GetInstance().bConfirmStop) if (SConfig::GetInstance().bConfirmStop)
{ {