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();