2016-02-20 16:04:07 +00:00
|
|
|
diff --git a/shell/main.cpp b/shell/main.cpp
|
2016-02-20 17:30:02 +00:00
|
|
|
index 49ea484..68cf9e9 100644
|
2016-02-20 16:04:07 +00:00
|
|
|
--- a/shell/main.cpp
|
|
|
|
+++ b/shell/main.cpp
|
2016-02-20 17:30:02 +00:00
|
|
|
@@ -133,6 +133,9 @@ int main(int argc, char *argv[])
|
2016-02-20 16:04:07 +00:00
|
|
|
};
|
|
|
|
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);
|