mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
* Use QPalette::Foreground for drawing AlbumItemDelegate's position figure.
This commit is contained in:
@@ -94,7 +94,7 @@ AlbumItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
|
||||
}
|
||||
|
||||
painter->setFont( m_bigBoldFont );
|
||||
painter->setPen( option.palette.text().color().lighter( 450 ) );
|
||||
painter->setPen( opt.palette.foreground().color() );
|
||||
|
||||
QRect leftRect = r;
|
||||
QRect figureRect = r.adjusted( 4, 0, 0, 0 );
|
||||
|
Reference in New Issue
Block a user