Commit 4214ea20 authored by pvuorela's avatar pvuorela

Merge branch 'jb47283' into 'master'

[launcher] Use QStandardPaths::standardLocations to read launcher paths. Fixes JB#47283

See merge request !122
parents e48c7609 294062ae
......@@ -74,7 +74,7 @@ static QStringList defaultDirectories()
userLocalLauncherDir.mkpath(userLocalAppsPath);
}
return QStringList() << QStringLiteral(LAUNCHER_APPS_PATH) << userLocalAppsPath;
return QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation);
}
Q_GLOBAL_STATIC(LauncherDBus, _launcherDBus);
......
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