correct the boolean test
This commit is contained in:
parent
049a79a0f6
commit
8d108352d2
@ -253,7 +253,7 @@ void AppletInterface::setActionSeparator(const QString &name)
|
||||
Plasma::Applet *a = applet();
|
||||
QAction *action = a->action(name);
|
||||
|
||||
if (!action) {
|
||||
if (action) {
|
||||
action->setSeparator(true);
|
||||
} else {
|
||||
action = new QAction(this);
|
||||
|
Loading…
Reference in New Issue
Block a user