summaryrefslogtreecommitdiff
path: root/x11/kde4-workspace/files/patch-kwin_effects_blur_blur.cpp
blob: f41d9a184da9d8a719a9276617429cf508e911b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Fix ambiguous call on armv6.

--- kwin/effects/blur/blur.cpp.orig	2017-01-11 16:01:39 UTC
+++ kwin/effects/blur/blur.cpp
@@ -387,7 +387,7 @@ bool BlurEffect::shouldBlur(const Effect
     if (w->isDesktop())
         return false;
 
-    bool scaled = !qFuzzyCompare(data.xScale(), 1.0) && !qFuzzyCompare(data.yScale(), 1.0);
+    bool scaled = !qFuzzyCompare(data.xScale(), qreal(1.0)) && !qFuzzyCompare(data.yScale(), qreal(1.0));
     bool translated = data.xTranslation() || data.yTranslation();
 
     if (scaled || ((translated || (mask & PAINT_WINDOW_TRANSFORMED)) && !w->data(WindowForceBlurRole).toBool()))