diff --git a/applets/taskmanager/plugin/smartlaunchers/smartlauncheritem.cpp b/applets/taskmanager/plugin/smartlaunchers/smartlauncheritem.cpp --- a/applets/taskmanager/plugin/smartlaunchers/smartlauncheritem.cpp +++ b/applets/taskmanager/plugin/smartlaunchers/smartlauncheritem.cpp @@ -118,7 +118,7 @@ m_launcherUrl = launcherUrl; emit launcherUrlChanged(launcherUrl); - KService::Ptr service = KService::serviceByStorageId(launcherUrl.toString()); // can we do better? + KService::Ptr service = KService::serviceByDesktopPath(launcherUrl.toLocalFile()); if (service) { m_storageId = service->storageId(); }