[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.6/kdelibs/plasma
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2011-01-15 19:06:09
Message-ID: 20110115190609.2E31D3E1F1 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1214647 by aseigo:

thanks to Andre Woebbeking for reminding me that qFuzzyCompare doesn't like zero


 M  +1 -1      paintutils.cpp  


--- branches/KDE/4.6/kdelibs/plasma/paintutils.cpp #1214646:1214647
@@ -163,7 +163,7 @@
         return from;
     }
 
-    if (qFuzzyCompare(amount, 0)) {
+    if (qFuzzyCompare(amount + 1, qreal(1.0))) {
         return from;
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic