mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-13 20:39:57 +01:00
Pretty up Recently Played widget on dashboard a bit by making played time/playee gray text
This commit is contained in:
parent
93c68b4ce1
commit
44a1adb922
@ -225,6 +225,7 @@ PlaylistItemDelegate::paintShort( QPainter* painter, const QStyleOptionViewItem&
|
||||
painter->drawText( r.adjusted( 0, 1, 0, 0 ), text, m_topOption );
|
||||
|
||||
painter->setFont( opt.font );
|
||||
painter->setPen( Qt::gray );
|
||||
text = painter->fontMetrics().elidedText( lowerText, Qt::ElideRight, r.width() );
|
||||
painter->drawText( r.adjusted( 0, 1, 0, 0 ), text, m_bottomOption );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user