I forgot to forwardport that security fix from 4.2 >.<
svn path=/trunk/KDE/kdelibs/; revision=923421
This commit is contained in:
parent
297b131e1d
commit
b0e0bb161a
10
applet.cpp
10
applet.cpp
@ -1053,12 +1053,10 @@ void Applet::flushPendingConstraintsEvents()
|
||||
}
|
||||
|
||||
bool canConfig = unlocked || KAuthorized::authorize("PlasmaAllowConfigureWhenLocked");
|
||||
if (canConfig) {
|
||||
action = d->actions.action("configure");
|
||||
if (action) {
|
||||
action->setVisible(canConfig);
|
||||
action->setEnabled(canConfig);
|
||||
}
|
||||
action = d->actions.action("configure");
|
||||
if (action) {
|
||||
action->setVisible(canConfig);
|
||||
action->setEnabled(canConfig);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user