From: Rafael Fernández López Date: Mon, 3 Dec 2007 00:47:15 +0000 (+0000) Subject: Same color for the category hovering as the rest of items X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/398a9b1639a6e0311d75c91590fc0c1557911926 Same color for the category hovering as the rest of items svn path=/trunk/KDE/kdebase/apps/; revision=744236 --- diff --git a/src/dolphincategorydrawer.cpp b/src/dolphincategorydrawer.cpp index bd88d5e5c..2a5cd9e22 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 3960cee5d..ed84ef8f6 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); }