all repos — mgba @ fa7660020f276de6dac05db2d4d3078b741faf93

mGBA Game Boy Advance Emulator

Qt: Fix non-SDL2 build
Jeffrey Pfau jeffrey@endrift.com
Tue, 28 Jul 2015 09:08:53 -0700
commit

fa7660020f276de6dac05db2d4d3078b741faf93

parent

2b80e3573f386afe2a4974e977483fde43610997

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -209,7 +209,9 @@ if (opts->fullscreen) {

enterFullScreen(); } +#if defined(BUILD_SDL) && SDL_VERSION_ATLEAST(2, 0, 0) m_inputController.setScreensaverSuspendable(opts->suspendScreensaver); +#endif m_mruFiles = m_config->getMRU(); updateMRU();