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

Call KAboutData::setApplicationData after QApp instance is created

parent f64a6b1d
......@@ -70,9 +70,9 @@ int main(int argc, char **argv)
signal(SIGINT, sigterm_handler);
signal(SIGHUP, sigterm_handler);
KAboutData::setApplicationData(aboutData());
QApplication::setDesktopSettingsAware(false);
QApplication a(argc, argv);
KAboutData::setApplicationData(aboutData());
QGuiApplication::setFallbackSessionManagementEnabled(false);
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