From: Rafael Fernández López Date: Mon, 17 Sep 2007 05:17:25 +0000 (+0000) Subject: Hooray for perfectionism X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/3c77e0f7204dcc7933b2f91ed462d61e92301b29?ds=sidebyside Hooray for perfectionism svn path=/trunk/KDE/kdebase/apps/; revision=713323 --- diff --git a/src/dolphincategorydrawer.cpp b/src/dolphincategorydrawer.cpp index 5b2278629..039b395a4 100644 --- a/src/dolphincategorydrawer.cpp +++ b/src/dolphincategorydrawer.cpp @@ -285,8 +285,8 @@ void DolphinCategoryDrawer::drawCategory(const QModelIndex &index, int sortRole, if (option.direction == Qt::RightToLeft) { - textRect.setWidth(textRect.width() - (paintIcon ? iconSize + (iconSize / 4) - : 0)); + textRect.setWidth(textRect.width() - (paintIcon ? iconSize + (iconSize / 2) + : -(iconSize / 4))); } painter->drawText(textRect, Qt::AlignVCenter | Qt::AlignLeft,