Qt: Fix being unable to pause manually when using auto-pausing
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Aug 2016 18:22:47 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -36,6 +36,7 @@ - GBA: Fix losing IRQs when CPSR I bit isn't cleared
- VFS: Fix reading multiple files from a 7z archive - GBA: Fix filehandle leak with savegames - GBA: Timer 0 cannot be count up + - Qt: Fix being unable to pause manually when using auto-pausing Misc: - 3DS: Use blip_add_delta_fast for a small speed improvement - OpenGL: Log shader compilation failure
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -1530,6 +1530,7 @@ return;
} if (QGuiApplication::focusWindow() && m_autoresume) { m_controller->setPaused(false); + m_autoresume = false; } else if (!QGuiApplication::focusWindow() && !m_controller->isPaused()) { m_autoresume = true; m_controller->setPaused(true);