diff --git a/src/plasma/containment.cpp b/src/plasma/containment.cpp index cc8d27ff4..d81ffeac6 100644 --- a/src/plasma/containment.cpp +++ b/src/plasma/containment.cpp @@ -179,6 +179,8 @@ void Containment::restore(KConfigGroup &group) setLocation((Plasma::Types::Location)group.readEntry("location", (int)d->location)); setFormFactor((Plasma::Types::FormFactor)group.readEntry("formfactor", (int)d->formFactor)); + + setWallpaper(group.readEntry("wallpaperplugin", ContainmentPrivate::defaultWallpaper)); //qDebug() << "setScreen from restore"; d->setScreen(group.readEntry("screen", d->screen)); d->activityId = group.readEntry("activityId", QString()); @@ -187,7 +189,7 @@ void Containment::restore(KConfigGroup &group) restoreContents(group); setImmutability((Types::ImmutabilityType)group.readEntry("immutability", (int)Types::Mutable)); - setWallpaper(group.readEntry("wallpaperplugin", ContainmentPrivate::defaultWallpaper)); + KConfigGroup cfg = KConfigGroup(corona()->config(), "ActionPlugins"); cfg = KConfigGroup(&cfg, QString::number(containmentType())); diff --git a/src/scriptengines/qml/plasmoid/wallpaperinterface.cpp b/src/scriptengines/qml/plasmoid/wallpaperinterface.cpp index b4f7ffadb..1cf8c7d93 100644 --- a/src/scriptengines/qml/plasmoid/wallpaperinterface.cpp +++ b/src/scriptengines/qml/plasmoid/wallpaperinterface.cpp @@ -82,7 +82,6 @@ Plasma::ConfigLoader *WallpaperInterface::configScheme() void WallpaperInterface::syncWallpaperPackage() { -qWarning()<<"22222222222222222"<containment()->wallpaper(); if (m_wallpaperPlugin == m_containmentInterface->containment()->wallpaper()) { return; } @@ -129,6 +128,7 @@ qWarning()<<"22222222222222222"<