parent the wallpaper so it gets deleted when we get deleted
svn path=/trunk/KDE/kdelibs/; revision=950829
This commit is contained in:
parent
59a6afb815
commit
deb92dbdf5
@ -1363,6 +1363,7 @@ void Containment::setWallpaper(const QString &pluginName, const QString &mode)
|
|||||||
|
|
||||||
if (!pluginName.isEmpty() && !d->wallpaper) {
|
if (!pluginName.isEmpty() && !d->wallpaper) {
|
||||||
d->wallpaper = Plasma::Wallpaper::load(pluginName);
|
d->wallpaper = Plasma::Wallpaper::load(pluginName);
|
||||||
|
d->wallpaper->setParent(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (d->wallpaper) {
|
if (d->wallpaper) {
|
||||||
|
Loading…
Reference in New Issue
Block a user