mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Same color for the category hovering as the rest of items
svn path=/trunk/KDE/kdebase/apps/; revision=744236
This commit is contained in:
parent
396d620466
commit
398a9b1639
2 changed files with 1 additions and 2 deletions
|
@ -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(),
|
||||
|
|
|
@ -127,7 +127,6 @@ int DolphinSortFilterProxyModel::compareCategories(const QModelIndex &left,
|
|||
|
||||
}
|
||||
#endif
|
||||
|
||||
return KDirSortFilterProxyModel::compareCategories(left, right);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue