From f64141a6d15e9c598440b7e5c4022714def6e448 Mon Sep 17 00:00:00 2001 From: Rafael Fernández López Date: Mon, 3 Dec 2007 23:43:39 +0000 Subject: More changes will follow to fix logic. This makes the stuff compile. CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=744626 --- src/dolphincategorydrawer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dolphincategorydrawer.cpp') diff --git a/src/dolphincategorydrawer.cpp b/src/dolphincategorydrawer.cpp index 2a5cd9e22..872a0c337 100644 --- a/src/dolphincategorydrawer.cpp +++ b/src/dolphincategorydrawer.cpp @@ -53,7 +53,7 @@ void DolphinCategoryDrawer::drawCategory(const QModelIndex &index, int sortRole, QRect starRect = option.rect; int iconSize = KIconLoader::global()->currentSize(KIconLoader::Small); - QVariant categoryVariant = index.model()->data(index, KCategorizedSortFilterProxyModel::CategoryRole); + QVariant categoryVariant = index.model()->data(index, KCategorizedSortFilterProxyModel::CategoryDisplayRole); if (!categoryVariant.isValid()) { -- cgit v1.3