diff --git a/src/slidingnotificationseffect.cpp b/src/slidingnotificationseffect.cpp index 0b979b3..2cc5c07 100644 --- a/src/slidingnotificationseffect.cpp +++ b/src/slidingnotificationseffect.cpp @@ -82,13 +82,13 @@ void SlidingNotificationsEffect::postPaintScreen() window->addRepaint(it->clip); if (it->timeline.done()) { + unforceBlurEffect(window); + unforceContrastEffect(window); if (window->isDeleted()) { window->unrefWindow(); } it = m_animations.erase(it); } else { - unforceBlurEffect(window); - unforceContrastEffect(window); ++it; } }