Commit 907c45f0 authored by Bharadwaj Raju's avatar Bharadwaj Raju
Browse files

Fix loading image wallpaper plugin config UI in KCM

Now org.kde.plasma.plasmoid is actually a QML plugin importable outside of
plasmashell. We can't override it anymore.

(cherry picked from commit ae599c04)
parent 27ae97fb
Pipeline #246020 failed with stage
in 4 minutes and 42 seconds
......@@ -52,10 +52,6 @@ ScreenLockerKcm::ScreenLockerKcm(QObject *parent, const KPluginMetaData &data, c
qmlRegisterAnonymousType<KConfigPropertyMap>(url, 1);
qmlProtectModule(url, 1);
// Our modules will be checking the Plasmoid attached object when running from Plasma, let it load the module
const char *uri = "org.kde.plasma.plasmoid";
qmlRegisterUncreatableType<QObject>(uri, 2, 0, "PlasmoidPlaceholder", QStringLiteral("Do not create objects of type Plasmoid"));
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