diff --git a/shell/main.cpp b/shell/main.cpp index 49ea484..68cf9e9 100644 --- a/shell/main.cpp +++ b/shell/main.cpp @@ -133,6 +133,9 @@ int main(int argc, char *argv[]) }; QObject::connect(&app, &QGuiApplication::commitDataRequest, disableSessionManagement); QObject::connect(&app, &QGuiApplication::saveStateRequest, disableSessionManagement); +#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) + QGuiApplication::setFallbackSessionManagementEnabled(false); +#endif ShellManager::s_crashes = cliOptions.value(crashOption).toInt(); ShellManager::s_forceWindowed = cliOptions.isSet(winOption);