Commit f64a6b1d authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Remove no longer needed code variant for older Qt version

parent 44fa7a33
......@@ -73,9 +73,7 @@ int main(int argc, char **argv)
KAboutData::setApplicationData(aboutData());
QApplication::setDesktopSettingsAware(false);
QApplication a(argc, argv);
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
QGuiApplication::setFallbackSessionManagementEnabled(false);
#endif
auto disableSessionManagement = [](QSessionManager &sm) {
sm.setRestartHint(QSessionManager::RestartNever);
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment