set a default wallpaper when the user creates a new containment from the

ui

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858793
This commit is contained in:
Marco Martin 2008-09-08 18:38:14 +00:00
parent 33f7e1e3d6
commit 2c2e7ecf3b

View File

@ -209,6 +209,12 @@ void Containment::init()
}
d->toolBox->addTool(this->action("add sibling containment"));
}
//Set a default wallpaper the first time the containment is created,
//for instance from the toolbox by the user
if (d->drawWallpaper) {
setDrawWallpaper(true);
}
}
}