let the applet do the thinking about wether or not the config action is enabled
CCBUG:201663 svn path=/trunk/KDE/kdelibs/; revision=1003317
This commit is contained in:
parent
8ecfc801de
commit
0de5d23864
@ -577,13 +577,10 @@ void ContainmentPrivate::appletActions(KMenu &desktopMenu, Applet *applet, bool
|
||||
}
|
||||
}
|
||||
|
||||
if (applet->hasConfigurationInterface()) {
|
||||
QAction *configureApplet = applet->d->actions->action("configure");
|
||||
if (configureApplet) {
|
||||
if (configureApplet && configureApplet->isEnabled()) {
|
||||
desktopMenu.addAction(configureApplet);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (static_cast<Corona*>(q->scene())->immutability() == Mutable) {
|
||||
if (!desktopMenu.isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user