mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Consistent color for duration in PlaylistItemDelegate.
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user