Commit f5c4b4ba authored by Nate Graham's avatar Nate Graham 🔩
Browse files

[applets] Show KCMs in System Settings

Summary:
CCBUG: 417836

Depends on D29711

As this will depend on Frameworks 5.71, it will be landed on master after branching,
ending up in Plasma 5.20.

Test Plan:
Right-click on applets and activate their configure menu items
Open Kickoff and click on avatar
Observe that the KCMs are opened in System Settings

Reviewers: mart, #plasma

Reviewed By: mart, #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D29713
parent 4b4642b6
......@@ -6,7 +6,7 @@ set(PROJECT_VERSION "5.19.80")
set(PROJECT_VERSION_MAJOR 5)
set(QT_MIN_VERSION "5.12.0")
set(KF5_MIN_VERSION "5.69.0")
set(KF5_MIN_VERSION "5.71.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
......
......@@ -125,7 +125,7 @@ Item {
acceptedButtons: Qt.LeftButton
cursorShape: Qt.PointingHandCursor
onClicked: {
KCMShell.open("user_manager")
KCMShell.openSystemSettings("user_manager")
}
visible: KCMShell.authorize("user_manager.desktop").length > 0
}
......
......@@ -82,7 +82,7 @@ MouseArea {
}
function action_openKCM() {
KQuickControlsAddonsComponents.KCMShell.open("kcm_kwin_virtualdesktops");
KQuickControlsAddonsComponents.KCMShell.openSystemSettings("kcm_kwin_virtualdesktops");
}
function action_showActivityManager() {
......
......@@ -92,7 +92,7 @@ DragDrop.DropArea {
}
function action_openkcm() {
KCMShell.open(["kcmtrash"]);
KCMShell.openSystemSettings("kcmtrash");
Please register or sign in to reply
}
Component.onCompleted: {
......
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