diff --git a/lanczosfilter.cpp b/lanczosfilter.cpp
index 2e45991b5a..d25cbf885a 100644
--- a/lanczosfilter.cpp
+++ b/lanczosfilter.cpp
@@ -31,7 +31,6 @@ along with this program. If not, see .
#include
#include
-#include
#include
#include
@@ -178,8 +177,7 @@ void LanczosFilter::createOffsets(int count, float width, Qt::Orientation direct
void LanczosFilter::performPaint(EffectWindowImpl* w, int mask, QRegion region, WindowPaintData& data)
{
- if ((data.xScale() < 0.9 || data.yScale() < 0.9) &&
- KGlobalSettings::graphicEffectsLevel() & KGlobalSettings::SimpleAnimationEffects) {
+ if (data.xScale() < 0.9 || data.yScale() < 0.9) {
if (!m_inited)
init();
const QRect screenRect = Workspace::self()->clientArea(ScreenArea, w->screen(), w->desktop());