diff --git a/applets/kicker/plugin/appentry.cpp b/applets/kicker/plugin/appentry.cpp --- a/applets/kicker/plugin/appentry.cpp +++ b/applets/kicker/plugin/appentry.cpp @@ -216,7 +216,9 @@ timeStamp = QX11Info::appUserTime(); } #endif - KRun::runService(*m_service, {}, 0, true /* temp URLs forces KRun to not block*/); + + // TODO Once we depend on KDE Frameworks 5.24 and D1902 is merged, use KRun::runApplication instead + KRun::runService(*m_service, {}, nullptr, true, {}, KStartupInfo::createNewStartupIdForTimestamp(timeStamp)); KActivities::ResourceInstance::notifyAccessed(QUrl("applications:" + m_service->storageId()), "org.kde.plasma.kicker"); diff --git a/applets/kicker/plugin/recentusagemodel.cpp b/applets/kicker/plugin/recentusagemodel.cpp --- a/applets/kicker/plugin/recentusagemodel.cpp +++ b/applets/kicker/plugin/recentusagemodel.cpp @@ -292,8 +292,8 @@ } #endif - new KRun(QUrl::fromLocalFile(service->entryPath()), 0, true, - KStartupInfo::createNewStartupIdForTimestamp(timeStamp)); + // TODO Once we depend on KDE Frameworks 5.24 and D1902 is merged, use KRun::runApplication instead + KRun::runService(*service, {}, nullptr, true, {}, KStartupInfo::createNewStartupIdForTimestamp(timeStamp)); KActivities::ResourceInstance::notifyAccessed(QUrl("applications:" + storageId), "org.kde.plasma.kicker");