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

List:       kde-commits
Subject:    KDE/kdelibs/kio/kio
From:       Johannes Simon <johannes.simon () gmail ! com>
Date:       2010-09-30 17:49:08
Message-ID: 20100930174908.8EEBCAC88E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1181321 by jsimon:

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  


--- trunk/KDE/kdelibs/kio/kio/kfileitemdelegate.cpp #1181320:1181321
@@ -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