┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}