From 2c2e7ecf3baba2c25034e37240e2e0fc8057f1a0 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 8 Sep 2008 18:38:14 +0000 Subject: [PATCH] set a default wallpaper when the user creates a new containment from the ui svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858793 --- containment.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/containment.cpp b/containment.cpp index 0b48b87aa..8cc26a1e9 100644 --- a/containment.cpp +++ b/containment.cpp @@ -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); + } } }