diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml index 7ef6c9a..d0291e0 100644 --- a/package/contents/ui/main.qml +++ b/package/contents/ui/main.qml @@ -73,14 +73,6 @@ Item { Kio.KRun { id: kRun } - - // We need to get the full path to KSysguard to be able to run it - PlasmaCore.DataSource { - id: apps - engine: 'apps' - property string ksysguardSource: 'org.kde.ksysguard.desktop' - connectedSources: [ ksysguardSource ] - } PlasmaCore.DataSource { id: dataSource @@ -570,7 +562,7 @@ Item { id: mouseArea anchors.fill: parent onClicked: { - kRun.openUrl(apps.data[apps.ksysguardSource].entryPath) + kRun.openService("org.kde.ksysguard") } }