Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'jb47283' into 'master'
[launcher] Use QStandardPaths::standardLocations to read launcher paths. Fixes JB#47283

See merge request mer-core/lipstick!122
  • Loading branch information
pvuorela committed Sep 27, 2019
2 parents e48c760 + 294062a commit 4214ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/launchermodel.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 4214ea2

Please sign in to comment.