]> cloud.milkyroute.net Git - dolphin.git/commit
Use KStringHandler::preProcessWrap() when calculating the width of a
authorFrank Reininghaus <frank78ac@googlemail.com>
Sat, 25 Sep 2010 22:01:05 +0000 (22:01 +0000)
committerFrank Reininghaus <frank78ac@googlemail.com>
Sat, 25 Sep 2010 22:01:05 +0000 (22:01 +0000)
commit732459f4e29707faaae63645ffe1aae31215e77e
treeb9e450bba811ce6d4bbdd27ee2507a573c6220c2
parentc5659d48b077f44738043c7933becd6a48c3a12e
Use KStringHandler::preProcessWrap() when calculating the width of a
file name in DolphinFileItemDelegate. This makes sure that zero width
spaces (which prevent kerning) are added at the same places where
KFileItemDelegate adds them when actually rendering the name. Fixes
the problem that file names are elided and partly replaced by "..."
even though there is enough space for the full name.

CCBUG: 251121

svn path=/trunk/KDE/kdebase/apps/; revision=1179568
src/views/dolphinfileitemdelegate.cpp