Skip to content

Commit

Permalink
Fixed open ksysguard on click
Browse files Browse the repository at this point in the history
  • Loading branch information
farion committed Apr 29, 2020
1 parent 0856bdb commit 5c26b93
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions package/contents/ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -570,7 +562,7 @@ Item {
id: mouseArea
anchors.fill: parent
onClicked: {
kRun.openUrl(apps.data[apps.ksysguardSource].entryPath)
kRun.openService("org.kde.ksysguard")
}
}

Expand Down

0 comments on commit 5c26b93

Please sign in to comment.