From fa7660020f276de6dac05db2d4d3078b741faf93 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 28 Jul 2015 09:08:53 -0700 Subject: [PATCH] Qt: Fix non-SDL2 build --- src/platform/qt/Window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index c0c39ebde..7ac25066c 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -209,7 +209,9 @@ void Window::loadConfig() { enterFullScreen(); } +#if defined(BUILD_SDL) && SDL_VERSION_ATLEAST(2, 0, 0) m_inputController.setScreensaverSuspendable(opts->suspendScreensaver); +#endif m_mruFiles = m_config->getMRU(); updateMRU();