From 398a9b1639a6e0311d75c91590fc0c1557911926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Mon, 3 Dec 2007 00:47:15 +0000 Subject: [PATCH] Same color for the category hovering as the rest of items svn path=/trunk/KDE/kdebase/apps/; revision=744236 --- src/dolphincategorydrawer.cpp | 2 +- src/dolphinsortfilterproxymodel.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dolphincategorydrawer.cpp b/src/dolphincategorydrawer.cpp index bd88d5e5cf..2a5cd9e224 100644 --- a/src/dolphincategorydrawer.cpp +++ b/src/dolphincategorydrawer.cpp @@ -98,7 +98,7 @@ void DolphinCategoryDrawer::drawCategory(const QModelIndex &index, int sortRole, } else if (option.state & QStyle::State_MouseOver) { - QColor hover = option.palette.color(QPalette::Highlight).light(); + QColor hover = option.palette.color(QPalette::Highlight); hover.setAlpha(88); QLinearGradient gradient(option.rect.topLeft(), diff --git a/src/dolphinsortfilterproxymodel.cpp b/src/dolphinsortfilterproxymodel.cpp index 3960cee5d0..ed84ef8f68 100644 --- a/src/dolphinsortfilterproxymodel.cpp +++ b/src/dolphinsortfilterproxymodel.cpp @@ -127,7 +127,6 @@ int DolphinSortFilterProxyModel::compareCategories(const QModelIndex &left, } #endif - return KDirSortFilterProxyModel::compareCategories(left, right); }