Commit 0da9ee5a authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Pager] Fix opening virtual desktop KCM

The name changed, adjust for this.

BUG: 403226
parent c592faf3
......@@ -82,7 +82,7 @@ MouseArea {
}
function action_openKCM() {
KQuickControlsAddonsComponents.KCMShell.open("desktop");
KQuickControlsAddonsComponents.KCMShell.open("kcm_kwin_virtualdesktops");
}
function action_showActivityManager() {
......@@ -532,7 +532,7 @@ MouseArea {
if (isActivityPager) {
plasmoid.setAction("showActivityManager", i18n("Show Activity Manager..."), "preferences-activities");
} else {
if (KQuickControlsAddonsComponents.KCMShell.authorize("desktop.desktop").length > 0) {
if (KQuickControlsAddonsComponents.KCMShell.authorize("kcm_kwin_virtualdesktops.desktop").length > 0) {
plasmoid.setAction("addDesktop", i18n("Add Virtual Desktop"), "list-add");
plasmoid.setAction("removeDesktop", i18n("Remove Virtual Desktop"), "list-remove");
plasmoid.action("removeDesktop").enabled = Qt.binding(function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment