From 979e5e913620becd10039a9076dce8d32b51733e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 6 Sep 2013 09:47:12 +0200 Subject: [PATCH] Do not check graphicsEffectsLevel for LanczosFilter We use GPU and driver dependent checks which are more accurate than the global setting has ever been. --- lanczosfilter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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());