now that handles are children of the applet, this shouldn't even be necessary

BUG:250137

svn path=/trunk/KDE/kdelibs/; revision=1171752
This commit is contained in:
Aaron J. Seigo 2010-09-05 00:33:35 +00:00
parent 91f76a12f3
commit 54e3837b10

View File

@ -2336,9 +2336,6 @@ void ContainmentPrivate::appletDestroyed(Plasma::Applet *applet)
if (handles.contains(applet)) { if (handles.contains(applet)) {
AppletHandle *handle = handles.value(applet); AppletHandle *handle = handles.value(applet);
handles.remove(applet); handles.remove(applet);
if (q->scene()) {
q->scene()->removeItem(handle);
}
} }
emit q->appletRemoved(applet); emit q->appletRemoved(applet);