┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dolphincategorydrawer.cpp4
1 files changed, 2 insertions, 2 deletions
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,