1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-21 00:12:06 +02:00

changed color of score bars to match the rest of the color palette

BUG-252
This commit is contained in:
Michael Zanetti 2011-08-10 12:33:37 +02:00
parent c36373569a
commit d3ab32d06a

View File

@ -261,11 +261,7 @@ PlaylistItemDelegate::paintDetailed( QPainter* painter, const QStyleOptionViewIt
if ( index.column() == TrackModel::Score )
{
#ifdef Q_OS_MAC // On Mac, highlight color is very bright and stands out a lot
QColor barColor( 167, 183, 211 ); // This matches the sidebar (sourcetreeview.cpp:672)
#else
QColor barColor = opt.palette.highlight().color();
#endif
if ( opt.state & QStyle::State_Selected )
painter->setPen( opt.palette.brightText().color() );
else