From: Rafael Fernández López Date: Mon, 17 Sep 2007 05:00:53 +0000 (+0000) Subject: Equal drawing on every case X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/abd0121a470fea72eccbf6f467451294a4e07223?ds=sidebyside Equal drawing on every case svn path=/trunk/KDE/kdebase/apps/; revision=713322 --- 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,