Commit 8c5a7534 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Windowed Widgets Runner] Fix launching widget

In 5dff3bc6 I changed it so data contains the plugin name
instead of metaDataFileName but the run method expected it to be the latter

Differential Revision: https://phabricator.kde.org/D6602
parent 67fed6a3
......@@ -99,10 +99,7 @@ void WindowedWidgetsRunner::match(Plasma::RunnerContext &context)
void WindowedWidgetsRunner::run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &match)
{
Q_UNUSED(context);
KPluginMetaData md(match.data().toString());
if (md.isValid()) {
QProcess::startDetached(QStringLiteral("plasmawindowed"), QStringList() << md.pluginId());
}
QProcess::startDetached(QStringLiteral("plasmawindowed"), {match.data().toString()});
}
void WindowedWidgetsRunner::setupMatch(const KPluginMetaData &md, Plasma::QueryMatch &match)
......
Markdown is supported
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