Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
9a5491ef
Commit
9a5491ef
authored
Mar 29, 2022
by
Alexander Lohnau
💬
Browse files
Use kcmshell5 to launch KRunner KCM
BUG: 451999
parent
51287cc2
Pipeline
#156658
passed with stage
in 11 minutes and 49 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
krunner/CMakeLists.txt
View file @
9a5491ef
...
...
@@ -20,7 +20,6 @@ target_link_libraries(krunner
KF5::I18n
KF5::PlasmaQuick
KF5::DBusAddons
KF5::KCMUtils
KF5::Crash
KF5::WaylandClient
KF5::Runner
...
...
krunner/view.cpp
View file @
9a5491ef
...
...
@@ -17,7 +17,6 @@
#include
<QScreen>
#include
<KAuthorized>
#include
<KCMultiDialog>
#include
<KCrash>
#include
<KIO/CommandLauncherJob>
#include
<KLocalizedString>
...
...
@@ -328,12 +327,8 @@ void View::switchUser()
void
View
::
displayConfiguration
()
{
KCMultiDialog
*
settingsDialog
=
new
KCMultiDialog
();
settingsDialog
->
addModule
(
KPluginMetaData
(
QStringLiteral
(
"plasma/kcms/desktop/kcm_krunnersettings"
)));
connect
(
settingsDialog
,
&
QDialog
::
finished
,
settingsDialog
,
&
QObject
::
deleteLater
);
settingsDialog
->
show
();
auto
job
=
new
KIO
::
CommandLauncherJob
(
QStringLiteral
(
"kcmshell5"
),
{
QStringLiteral
(
"plasma/kcms/desktop/kcm_krunnersettings"
)});
job
->
start
();
}
void
View
::
setVisible
(
bool
visible
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment