From e702559b85cc47b89802ea506e13e011117dbdba Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 5 Nov 2014 22:02:40 +0100 Subject: [PATCH] workaround on krun being broken on wayland --- qmlcomponents/applicationlistmodel.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qmlcomponents/applicationlistmodel.cpp b/qmlcomponents/applicationlistmodel.cpp index 63b6e342..2d1f6458 100644 --- a/qmlcomponents/applicationlistmodel.cpp +++ b/qmlcomponents/applicationlistmodel.cpp @@ -23,6 +23,7 @@ // Qt #include #include +#include // KDE #include @@ -133,7 +134,10 @@ void ApplicationListModel::runApplication(const QString &storageId) { } KService::Ptr service = KService::serviceByStorageId(storageId); - KRun::run(*service, QList(), 0); + + //FIXME: port KRun::run to wayland + QProcess::startDetached(service->exec()); + //KRun::run(*service, QList(), 0); } #include "applicationlistmodel.moc"