diff options
Diffstat (limited to 'src/kcategorydrawer.cpp')
| -rw-r--r-- | src/kcategorydrawer.cpp | 2 |
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; |
