support adding the configuration entry to the toolbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859589
This commit is contained in:
parent
8b3510bf7e
commit
bf942582e8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user