mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-02 04:10:20 +02:00
* Use the same color for drawing charts-position & album-position.
This commit is contained in:
@@ -118,7 +118,7 @@ AlbumItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
|
|||||||
QFontMetrics smallBoldFontMetrics( smallBoldFont );
|
QFontMetrics smallBoldFontMetrics( smallBoldFont );
|
||||||
|
|
||||||
painter->setFont( boldFont );
|
painter->setFont( boldFont );
|
||||||
painter->setPen( option.palette.text().color().lighter() );
|
painter->setPen( option.palette.text().color().lighter( 450 ) );
|
||||||
|
|
||||||
QRect figureRect = r.adjusted( 4, 0, 0, 0 );
|
QRect figureRect = r.adjusted( 4, 0, 0, 0 );
|
||||||
figureRect.setWidth( QFontMetrics( painter->font() ).width( "888" ) );
|
figureRect.setWidth( QFontMetrics( painter->font() ).width( "888" ) );
|
||||||
|
Reference in New Issue
Block a user