Commit 70fa173d authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Fix variable assignment

Noticed this while refactoring something in the area.

Differential Revision: https://phabricator.kde.org/D28905
parent 0fd991aa
......@@ -807,7 +807,7 @@ void runApp(const AppData &appData, const QList<QUrl> &urls)
if (appData.url.scheme() == QLatin1String("applications")) {
service = KService::serviceByMenuId(appData.url.path());
} else if (appData.url.scheme() == QLatin1String("preferred")) {
const KService::Ptr service = KService::serviceByStorageId(defaultApplication(appData.url));
service = KService::serviceByStorageId(defaultApplication(appData.url));
} else {
service = KService::serviceByDesktopPath(appData.url.toLocalFile());
}
......
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