Commit 4f285e5d authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Fix wrong arg type in addLauncher method call

We expect a QVariant instead of a QUrl

Regression from 14d10c7a

BUG: 449243
parent 738b41d2
Pipeline #129635 passed with stage
in 7 minutes and 11 seconds
......@@ -132,7 +132,7 @@ void ContainmentInterface::addLauncher(QObject *appletInterface, ContainmentInte
return;
}
QMetaObject::invokeMethod(rootItem, "addLauncher", Q_ARG(QUrl, QUrl::fromLocalFile(entryPath)));
QMetaObject::invokeMethod(rootItem, "addLauncher", Q_ARG(QVariant, QUrl::fromLocalFile(entryPath)));
} else {
containment->createApplet(QStringLiteral("org.kde.plasma.icon"), QVariantList() << entryPath);
}
......
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