diff --git a/effects/fallapart/fallapart.cpp b/effects/fallapart/fallapart.cpp index df623fb836..5e08fd971d 100644 --- a/effects/fallapart/fallapart.cpp +++ b/effects/fallapart/fallapart.cpp @@ -163,9 +163,6 @@ void FallApartEffect::slotWindowClosed(EffectWindow* c) return; if (!c->isVisible()) return; - const void* e = c->data(WindowClosedGrabRole).value(); - if (e && e != this) - return; c->setData(WindowClosedGrabRole, QVariant::fromValue(static_cast(this))); windows[ c ] = 0; c->refWindow();