diff --git a/effects/slide/slide.cpp b/effects/slide/slide.cpp --- a/effects/slide/slide.cpp +++ b/effects/slide/slide.cpp @@ -456,12 +456,12 @@ void SlideEffect::stop() { for (EffectWindow* w : m_forcedRoles.blur) { - w->setData(WindowForceBlurRole, QVariant(false)); + w->setData(WindowForceBlurRole, QVariant()); } m_forcedRoles.blur.clear(); for (EffectWindow* w : m_forcedRoles.backgroundContrast) { - w->setData(WindowForceBackgroundContrastRole, QVariant(false)); + w->setData(WindowForceBackgroundContrastRole, QVariant()); } m_forcedRoles.backgroundContrast.clear();