mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
* Use mid color instead of self-calculated text color value in charts delegate.
This commit is contained in:
parent
d28ff17570
commit
44ed1d44dd
@ -172,7 +172,7 @@ PlaylistChartItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem&
|
||||
|
||||
QRect figureRect = r.adjusted( 0, 0, -option.rect.width() + 60 - 6 + r.left(), 0 );
|
||||
painter->setFont( figureFont );
|
||||
painter->setPen( option.palette.text().color().lighter( 450 ) );
|
||||
painter->setPen( option.palette.mid().color() );
|
||||
painter->drawText( figureRect, QString::number( index.row() + 1 ), m_centerOption );
|
||||
painter->setPen( opt.palette.text().color() );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user