Commit 22a99ad1 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇 Committed by David Edmundson

Handle kcminit_startup called with an absolute path

parent 657f520c
......@@ -227,7 +227,8 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char *argv[])
}
close( ready[ 0 ] );
startup = ( strcmp( argv[ 0 ], "kcminit_startup" ) == 0 ); // started from startkde?
const QString executableName = QString::fromUtf8(argv[0]);
startup = executableName.endsWith(QLatin1String("kcminit_startup" )); // started from startkde?
KWorkSpace::detectPlatform(argc, argv);
QGuiApplication::setDesktopSettingsAware(false);
......
Markdown is supported
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