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

--- src/ColorScheme.cpp.orig	2017-01-12 05:40:22 UTC
+++ src/ColorScheme.cpp
@@ -406,7 +406,7 @@ bool ColorSchemeWallpaper::draw(QPainter
     if (!_picture || _picture->isNull())
         return false;
 
-    if (qFuzzyCompare(1.0, opacity)) {
+    if (qFuzzyCompare(qreal(1.0), opacity)) {
         painter.drawTiledPixmap(rect, *_picture, rect.topLeft());
         return true;
     }