don't take addr of temporary
svn path=/trunk/KDE/kdebase/workspace/; revision=1123365
This commit is contained in:
parent
73cea339a8
commit
de2f7ef846
@ -59,7 +59,8 @@ Containment::~Containment()
|
||||
d->oldWallpaperMode != d->wallpaperMode) {
|
||||
containment->setWallpaper(d->wallpaperPlugin, d->wallpaperMode);
|
||||
} else if (wallpaperConfigDirty() && containment->wallpaper()) {
|
||||
KConfigGroup cg(&containment->config(), "Wallpaper");
|
||||
KConfigGroup cg(containment->config());
|
||||
cg = KConfigGroup(&cg, "Wallpaper");
|
||||
containment->wallpaper()->restore(cg);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user