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

List:       kde-commits
Subject:    branches/KDE/4.5/kdelibs/kio/kio
From:       Johannes Simon <johannes.simon () gmail ! com>
Date:       2010-09-30 18:22:44
Message-ID: 20100930182244.E846FAC891 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1181329 by jsimon:

Backport 1181321 from trunk:

Fix painting bug on Mac OS X (though it in theory effects all platforms): sizeHint() \
for file item delegates was too small by one pixel because a qreal value got rounded \
off instead of up. So instead of "I'm a folder" the displayed file name in e.g. \
Dolphin was simply "I'm a fo...". Note that this was only the case for the "Short \
View".


 M  +1 -1      kfileitemdelegate.cpp  


--- branches/KDE/4.5/kdelibs/kio/kio/kfileitemdelegate.cpp #1181328:1181329
@@ -376,7 +376,7 @@
     }
     layout.endLayout();
 
-    return QSize(int(widthUsed), height);
+    return QSize(qCeil(widthUsed), height);
 }
 
 


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

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