Revert "[effects/fallapart] Override scale, fade, and glide effect"

This reverts commit 1747e497e4.

Unfortunately, this patch causes fall apart effect to override sliding
popups effect, which we really don't want to do.
icc-effect-master
Vlad Zahorodnii 2019-12-12 15:31:56 +02:00
parent 8ab727766a
commit 31e664783f
1 changed files with 3 additions and 0 deletions

View File

@ -163,6 +163,9 @@ void FallApartEffect::slotWindowClosed(EffectWindow* c)
return;
if (!c->isVisible())
return;
const void* e = c->data(WindowClosedGrabRole).value<void*>();
if (e && e != this)
return;
c->setData(WindowClosedGrabRole, QVariant::fromValue(static_cast<void*>(this)));
windows[ c ] = 0;
c->refWindow();