┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kcategorydrawer.cpp
diff options
context:
space:
mode:
authorRafael Fernández López <[email protected]>2007-12-03 23:43:39 +0000
committerRafael Fernández López <[email protected]>2007-12-03 23:43:39 +0000
commitf64141a6d15e9c598440b7e5c4022714def6e448 (patch)
tree2d82d390ab073e101b468612eb5f53c9c268eedd /src/kcategorydrawer.cpp
parentf42b43647189126112b10e2fd02218c512ccc1a9 (diff)
More changes will follow to fix logic. This makes the stuff compile.
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=744626
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;