1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 08:19:42 +01:00

use a grey instead of blue for osx selection rect

This commit is contained in:
Leo Franchi 2011-08-13 17:20:05 -04:00
parent 1ef2be9f3c
commit 67763df201

View File

@ -29,11 +29,11 @@ void SettingsListDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
QPainterPath p;
p.addRoundedRect( opt.rect.adjusted( 2, 1, -1, -1 ), 5, 5 );
QColor c = opt.palette.color( QPalette::Highlight );
painter->setPen( c.darker( 150 ) );
QColor fill( 214, 214, 214 );
QColor border( 107, 107, 107 );
painter->setPen( border );
painter->drawPath( p );
c.setAlpha( 200 );
painter->fillPath( p, c.lighter( 150 ) );
painter->fillPath( p, fill );
painter->restore();
}