Fix "Pair a Device..." button in plasmoid

This commit is contained in:
Joshua Goins 2023-01-18 10:29:25 -05:00
parent 9e870cbc6a
commit abbaa1575b

View file

@ -58,7 +58,7 @@ PlasmaExtras.Representation {
helpfulAction: Action {
text: i18n("Pair a Device...")
icon.name: "list-add"
onTriggered: KdeConnect.DaemonDbusInterface.openConfiguration()
onTriggered: KdeConnect.OpenConfig.openConfiguration()
enabled: pairedDevicesModel.count == 0 && KCMShell.authorize("kcm_kdeconnect.desktop").length > 0
}