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