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

List:       kde-commits
Subject:    branches/KDE/4.3/kdelibs/plasma
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-07-31 18:54:05
Message-ID: 1249066445.932465.32571.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1005297 by mart:

backport fixes to findInRectCache


 M  +2 -2      theme.cpp  


--- branches/KDE/4.3/kdelibs/plasma/theme.cpp #1005296:1005297
@@ -721,9 +721,9 @@
         return true;
     }
 
-    //A single _ means the element is empty and we're asked for the size of
+    //Name starting by _ means the element is empty and we're asked for the size of
     //the whole image, so the whole image is never invalid
-    if (element.count('_') == 1) {
+    if (element.indexOf('_') <= 0) {
         return false;
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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