┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincategorydrawer.cpp
diff options
context:
space:
mode:
authorRafael Fernández López <[email protected]>2007-09-17 05:00:53 +0000
committerRafael Fernández López <[email protected]>2007-09-17 05:00:53 +0000
commitabd0121a470fea72eccbf6f467451294a4e07223 (patch)
tree299efea3d4105240063781f08072178eeffd0f7e /src/dolphincategorydrawer.cpp
parent1b211758c7e6e8400d2e84d84c936cb1685c22a2 (diff)
Equal drawing on every case
svn path=/trunk/KDE/kdebase/apps/; revision=713322
Diffstat (limited to 'src/dolphincategorydrawer.cpp')
-rw-r--r--src/dolphincategorydrawer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphincategorydrawer.cpp b/src/dolphincategorydrawer.cpp
index aff03dab7..5b2278629 100644
--- a/src/dolphincategorydrawer.cpp
+++ b/src/dolphincategorydrawer.cpp
@@ -286,7 +286,7 @@ void DolphinCategoryDrawer::drawCategory(const QModelIndex &index, int sortRole,
if (option.direction == Qt::RightToLeft)
{
textRect.setWidth(textRect.width() - (paintIcon ? iconSize + (iconSize / 4)
- : (iconSize / 4)));
+ : 0));
}
painter->drawText(textRect, Qt::AlignVCenter | Qt::AlignLeft,