mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 22:59:45 -09:00
[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
This commit is contained in:
parent
4b4642b667
commit
f5c4b4ba86
4 changed files with 4 additions and 4 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue