From a9a58b1ed50769532e163013923ad70710f77fdd Mon Sep 17 00:00:00 2001
From: Ismael Asensio
Date: Thu, 23 Mar 2023 00:50:30 +0100
Subject: [PATCH] Port usage of kcmshell5 to kcmshell6
Just two instances:
- in useractions for the menu action "Configure Window Manager"
- in the docbook about the key shortcuts
---
doc/windowspecific/index.docbook | 2 +-
src/useractions.cpp | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/windowspecific/index.docbook b/doc/windowspecific/index.docbook
index b662744e2b..a977d28d6e 100644
--- a/doc/windowspecific/index.docbook
+++ b/doc/windowspecific/index.docbook
@@ -471,7 +471,7 @@ and Move Down buttons effects on how they are applied.
Ignore global shortcuts
- Toggle whether to ignore global shortcuts (as defined by System SettingsShortcuts and GesturesGlobal Shortcuts or by running kcmshell5 keys in konsole) while the window is active.
+ Toggle whether to ignore global shortcuts (as defined by System SettingsShortcuts and GesturesGlobal Shortcuts or by running kcmshell6 keys in konsole) while the window is active.
Closeable
diff --git a/src/useractions.cpp b/src/useractions.cpp
index 698d544947..11ac4005ee 100644
--- a/src/useractions.cpp
+++ b/src/useractions.cpp
@@ -304,11 +304,11 @@ void UserActionsMenu::init()
QProcess *p = new QProcess(this);
p->setArguments(args);
p->setProcessEnvironment(kwinApp()->processStartupEnvironment());
- p->setProgram(QStringLiteral("kcmshell5"));
+ p->setProgram(QStringLiteral("kcmshell6"));
connect(p, static_cast(&QProcess::finished), p, &QProcess::deleteLater);
connect(p, &QProcess::errorOccurred, this, [](QProcess::ProcessError e) {
if (e == QProcess::FailedToStart) {
- qCDebug(KWIN_CORE) << "Failed to start kcmshell5";
+ qCDebug(KWIN_CORE) << "Failed to start kcmshell6";
}
});
p->start();