diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ set(PROJECT_VERSION_MAJOR 5) set(QT_MIN_VERSION "5.14.0") -set(KF5_MIN_VERSION "5.66.0") +set(KF5_MIN_VERSION "5.71.0") set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED On) diff --git a/applet/contents/ui/Toolbar.qml b/applet/contents/ui/Toolbar.qml --- a/applet/contents/ui/Toolbar.qml +++ b/applet/contents/ui/Toolbar.qml @@ -204,7 +204,7 @@ } onClicked: { - KCMShell.open(mainWindow.kcm) + KCMShell.openSystemSettings(mainWindow.kcm) } } } diff --git a/applet/contents/ui/main.qml b/applet/contents/ui/main.qml --- a/applet/contents/ui/main.qml +++ b/applet/contents/ui/main.qml @@ -27,8 +27,8 @@ Item { id: mainWindow - readonly property string kcm: "kcm_networkmanagement.desktop" - readonly property bool kcmAuthorized: KCMShell.authorize(kcm).length == 1 + readonly property string kcm: "kcm_networkmanagement" + readonly property bool kcmAuthorized: KCMShell.authorize("kcm_networkmanagement.desktop").length == 1 Plasmoid.toolTipMainText: i18n("Networks") Plasmoid.toolTipSubText: networkStatus.activeConnections @@ -45,7 +45,7 @@ } function action_openKCM() { - KCMShell.open(kcm) + KCMShell.openSystemSettings(kcm) } function action_showPortal() {