Commit 86a1aefa authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by Nate Graham
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
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment