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
87fb7c7a
Commit
87fb7c7a
authored
Oct 08, 2020
by
Alexander Lohnau
💬
Browse files
Port deprecated QProcess::startDetached(QString) method
parent
371e91b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
shell/softwarerendernotifier.cpp
View file @
87fb7c7a
...
...
@@ -32,7 +32,7 @@ SoftwareRendererNotifier::SoftwareRendererNotifier(QObject *parent)
setStandardActionsEnabled
(
false
);
connect
(
this
,
&
KStatusNotifierItem
::
activateRequested
,
this
,
[]()
{
QProcess
::
startDetached
(
"kcmshell5
qtquicksettings"
);
QProcess
::
startDetached
(
QStringLiteral
(
"kcmshell5"
),
{
QStringLiteral
(
"
qtquicksettings"
)
})
;
});
auto
menu
=
new
QMenu
;
//ownership is transferred in setContextMenu
...
...
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