┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRafael Fernández López <[email protected]>2007-12-03 00:47:15 +0000
committerRafael Fernández López <[email protected]>2007-12-03 00:47:15 +0000
commit398a9b1639a6e0311d75c91590fc0c1557911926 (patch)
treec1dd979a4cb9d9de0935903efba3234d03b12429 /src
parent396d620466e2a3042650d95b114e79e7d32c970b (diff)
Same color for the category hovering as the rest of items
svn path=/trunk/KDE/kdebase/apps/; revision=744236
Diffstat (limited to 'src')
-rw-r--r--src/dolphincategorydrawer.cpp2
-rw-r--r--src/dolphinsortfilterproxymodel.cpp1
2 files changed, 1 insertions, 2 deletions
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);
}