]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Same color for the category hovering as the rest of items
authorRafael Fernández López <ereslibre@kde.org>
Mon, 3 Dec 2007 00:47:15 +0000 (00:47 +0000)
committerRafael Fernández López <ereslibre@kde.org>
Mon, 3 Dec 2007 00:47:15 +0000 (00:47 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=744236

src/dolphincategorydrawer.cpp
src/dolphinsortfilterproxymodel.cpp

index bd88d5e5cf895c80372fad05b4d70765e0d62c79..2a5cd9e22479df2bee6ccbba58bc97e0869d4ded 100644 (file)
@@ -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(),
index 3960cee5d0ef474c299a10b16d5fc7b1d48753b5..ed84ef8f6861e46a5d6a0ea954ee24cc45adfe23 100644 (file)
@@ -127,7 +127,6 @@ int DolphinSortFilterProxyModel::compareCategories(const QModelIndex &left,
 
     }
 #endif
-
     return KDirSortFilterProxyModel::compareCategories(left, right);
 }