From 37fa14740c5b1a55f6e55c488ab2087272e378a8 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 23 Oct 2014 15:12:49 +0200 Subject: [PATCH] actually start applications --- shell/contents/components/HomeLauncher.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shell/contents/components/HomeLauncher.qml b/shell/contents/components/HomeLauncher.qml index 5aea583b..9842c9a4 100644 --- a/shell/contents/components/HomeLauncher.qml +++ b/shell/contents/components/HomeLauncher.qml @@ -1,14 +1,19 @@ import QtQuick 2.0 import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.kio 1.0 as Kio MouseArea { id: root width: applications.cellWidth height: width onClicked: { - console.log("Clicked: " + width) + console.log("Clicked: " + model.entryPath) + krun.openUrl(model.entryPath) } + Kio.KRun { + id: krun + } PlasmaCore.IconItem { id: icon anchors.centerIn: parent