no longer relevant

svn path=/trunk/KDE/kdelibs/; revision=1173977
This commit is contained in:
Aaron J. Seigo 2010-09-11 00:47:56 +00:00
parent 404c4b310d
commit 8a74b21168

View File

@ -1192,9 +1192,6 @@ void Applet::flushPendingConstraintsEvents()
if (c & Plasma::StartupCompletedConstraint) {
//common actions
bool unlocked = immutability() == Mutable;
//FIXME desktop containments can't be removed while in use.
//it's kinda silly to have a keyboard shortcut for something that can only be used when the
//shortcut isn't active.
QAction *closeApplet = d->actions->action("remove");
if (closeApplet) {
closeApplet->setEnabled(unlocked);