mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 17:29:42 +01:00
* Consistent color for duration in PlaylistItemDelegate.
This commit is contained in:
parent
219d4e5f19
commit
965a9b6153
@ -239,6 +239,7 @@ PlaylistLargeItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem&
|
||||
|
||||
if ( duration > 0 )
|
||||
{
|
||||
painter->setPen( opt.palette.text().color() );
|
||||
painter->setFont( smallBoldFont );
|
||||
text = painter->fontMetrics().elidedText( TomahawkUtils::timeToString( duration ), Qt::ElideRight, rightRect.width() );
|
||||
painter->drawText( rightRect, text, m_centerRightOption );
|
||||
|
Loading…
x
Reference in New Issue
Block a user