Same color for the category hovering as the rest of items

svn path=/trunk/KDE/kdebase/apps/; revision=744236
This commit is contained in:
Rafael Fernández López 2007-12-03 00:47:15 +00:00
parent 396d620466
commit 398a9b1639
2 changed files with 1 additions and 2 deletions

View 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(),

View file

@ -127,7 +127,6 @@ int DolphinSortFilterProxyModel::compareCategories(const QModelIndex &left,
}
#endif
return KDirSortFilterProxyModel::compareCategories(left, right);
}