From bf942582e83d641b6e31aa175a08a067812aceb2 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Wed, 10 Sep 2008 18:42:52 +0000 Subject: [PATCH] support adding the configuration entry to the toolbox svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859589 --- containment.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/containment.cpp b/containment.cpp index 24572186c..f375933c1 100644 --- a/containment.cpp +++ b/containment.cpp @@ -208,6 +208,14 @@ void Containment::init() d->toolBox->addTool(this->action("lock widgets")); } d->toolBox->addTool(this->action("add sibling containment")); + if (hasConfigurationInterface()) { + // re-use the contianment's action. + QAction* configureContainment = this->action("configure"); + if (configureContainment) { + d->toolBox->addTool(this->action("configure")); + } + } + } //Set a default wallpaper the first time the containment is created,