1
0
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:
Christian Muehlhaeuser 2013-06-14 11:52:17 +02:00
parent ff641dfefc
commit d6344ea707

View File

@ -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 );