Commit 8ab2ff78 authored by Bharadwaj Raju's avatar Bharadwaj Raju
Browse files

Revert "Fix loading image wallpaper plugin config UI in KCM"

This reverts commit 907c45f0
parent 907c45f0
Pipeline #244555 passed with stage
in 2 minutes and 15 seconds
......@@ -52,6 +52,10 @@ 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"));
connect(&KScreenSaverSettings::getInstance(),
&KScreenSaverSettings::wallpaperPluginIdChanged,
m_appearanceSettings,
......
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