[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 1:10:19
Message-ID: 20110115011019.120B3AC8B4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1214509 by aseigo:

amount of 0 should be a no-op; fast and more accurate results
CCBUG:263179


 M  +4 -0      paintutils.cpp  


--- branches/KDE/4.6/kdelibs/plasma/paintutils.cpp #1214508:1214509
@@ -163,6 +163,10 @@
         return from;
     }
 
+    if (qFuzzyCompare(amount, 0)) {
+        return from;
+    }
+
     QRect startRect(from.rect());
     QRect targetRect(to.rect());
     QSize pixmapSize = startRect.size().expandedTo(targetRect.size());
[prev in list] [next in list] [prev in thread] [next in thread] 

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