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:
parent
91f76a12f3
commit
54e3837b10
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user