┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kcategorydrawer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kcategorydrawer.cpp')
-rw-r--r--src/kcategorydrawer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kcategorydrawer.cpp b/src/kcategorydrawer.cpp
index da84de83c..d0c671915 100644
--- a/src/kcategorydrawer.cpp
+++ b/src/kcategorydrawer.cpp
@@ -38,7 +38,7 @@ void KCategoryDrawer::drawCategory(const QModelIndex &index,
const QStyleOption &option,
QPainter *painter) const
{
- const QString category = index.model()->data(index, KCategorizedSortFilterProxyModel::CategoryRole).toString();
+ const QString category = index.model()->data(index, KCategorizedSortFilterProxyModel::CategoryDisplayRole).toString();
QColor color;