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
86a1aefa
Commit
86a1aefa
authored
Mar 15, 2022
by
Alexander Lohnau
💬
Committed by
Nate Graham
Mar 16, 2022
Browse files
kicker/actionlist: Ensure we parse the args for the jumplist actions
BUG: 451418
(cherry picked from commit
85477b77
)
parent
28883006
Pipeline
#151101
passed with stage
in 13 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
applets/kicker/plugin/actionlist.cpp
View file @
86a1aefa
...
...
@@ -25,6 +25,7 @@
#include
<KActivities/Stats/Cleaning>
#include
<KActivities/Stats/ResultSet>
#include
<KActivities/Stats/Terms>
#include
<KIO/DesktopExecParser>
#include
"containmentinterface.h"
...
...
@@ -217,7 +218,8 @@ QVariantList jumpListActions(KService::Ptr service)
continue
;
}
QVariantMap
item
=
createActionItem
(
action
.
text
(),
action
.
icon
(),
QStringLiteral
(
"_kicker_jumpListAction"
),
action
.
exec
());
QString
exec
=
KIO
::
DesktopExecParser
(
KService
(
action
.
name
(),
action
.
exec
(),
action
.
icon
()),
{}).
resultingArguments
().
join
(
QLatin1Char
(
' '
));
QVariantMap
item
=
createActionItem
(
action
.
text
(),
action
.
icon
(),
QStringLiteral
(
"_kicker_jumpListAction"
),
exec
);
list
<<
item
;
}
...
...
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