mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 09:19:41 +01:00
* Use QPalette::Foreground for drawing AlbumItemDelegate's position figure.
This commit is contained in:
parent
ff641dfefc
commit
d6344ea707
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user