Description: Fix opening recent docs on newer KF5 from kicker menu
Fix opening recent docs on newer KF5.
The KActivities model can return scheme-less local paths, and execution
didn't go through the code path already handling this.
Origin: upstream
Bug-KDE: https://bugs.kde.org/show_bug.cgi?id=363337
Forwarded: not-needed
Last-Update: 2015-05-24
---
Index: plasma-desktop-5.6.4/applets/kicker/plugin/recentusagemodel.cpp
===================================================================
--- plasma-desktop-5.6.4.orig/applets/kicker/plugin/recentusagemodel.cpp
+++ plasma-desktop-5.6.4/applets/kicker/plugin/recentusagemodel.cpp
@@ -273,7 +273,7 @@ bool RecentUsageModel::trigger(int row,
const QString &resource = resourceAt(row);
if (!resource.startsWith(QLatin1String("applications:"))) {
- new KRun(QUrl(resource), 0);
+ new KRun(docData(resource, Kicker::UrlRole).toUrl(), 0);
return true;
}