inversion of logic

svn path=/trunk/KDE/kdelibs/; revision=915490
This commit is contained in:
Aaron J. Seigo 2009-01-23 07:38:04 +00:00
parent 14ac4a4271
commit 3b547e427b

View File

@ -1295,7 +1295,7 @@ void Applet::setHasConfigurationInterface(bool hasInterface)
}
d->actions.addAction("configure", configAction);
}
} else if (!d->isContainment || !qobject_cast<Plasma::Containment*>(this)) {
} else if (!d->isContainment && !qobject_cast<Plasma::Containment*>(this)) {
d->actions.removeAction(configAction);
}
}