diff --git a/containment.cpp b/containment.cpp index 517aa179e..6d4138920 100644 --- a/containment.cpp +++ b/containment.cpp @@ -510,12 +510,6 @@ void Containment::setContainmentType(Containment::Type type) return; } - if (type != DesktopContainment) { - foreach (Plasma::Applet *applet, applets()) { - applet->removeSceneEventFilter(this); - } - } - delete d->toolBox.data(); d->type = type; d->checkContainmentFurniture(); @@ -884,7 +878,6 @@ void Containment::addApplet(Applet *applet, const QPointF &pos, bool delayInit) } disconnect(applet, 0, currentContainment, 0); - applet->removeSceneEventFilter(currentContainment); KConfigGroup oldConfig = applet->config(); currentContainment->d->applets.removeAll(applet); applet->setParentItem(this);