From 53cff6f103915c9596dfeab3b9bea601bd45bd23 Mon Sep 17 00:00:00 2001 From: Fushan Wen Date: Wed, 20 Oct 2021 22:16:38 +0800 Subject: [PATCH] applets: Fix KCMShell open path for batterymonitor and devicenotifier Make "Configure Removable Devices" and "Configure Energy Saving" open corresponding settings correctly. BUG: 444115 BUG: 444114 --- applets/batterymonitor/package/contents/ui/batterymonitor.qml | 2 +- applets/devicenotifier/package/contents/ui/devicenotifier.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applets/batterymonitor/package/contents/ui/batterymonitor.qml b/applets/batterymonitor/package/contents/ui/batterymonitor.qml index 130a6c819..10917e194 100644 --- a/applets/batterymonitor/package/contents/ui/batterymonitor.qml +++ b/applets/batterymonitor/package/contents/ui/batterymonitor.qml @@ -137,7 +137,7 @@ Item { } function action_configure() { - KCMShell.openSystemSettings("powerdevilprofilesconfig"); + KCMShell.openSystemSettings("kcm_powerdevilprofilesconfig"); } function action_energyinformationkcm() { diff --git a/applets/devicenotifier/package/contents/ui/devicenotifier.qml b/applets/devicenotifier/package/contents/ui/devicenotifier.qml index 404ae95e6..716fde7ae 100644 --- a/applets/devicenotifier/package/contents/ui/devicenotifier.qml +++ b/applets/devicenotifier/package/contents/ui/devicenotifier.qml @@ -263,7 +263,7 @@ Item { } function action_configure() { - KCMShell.openSystemSettings("device_automounter_kcm") + KCMShell.openSystemSettings("kcm_device_automounter") } function action_showRemovableDevices() {