mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 01:09:42 +01:00
Don't wordwrap download count
This commit is contained in:
parent
23ef32ffee
commit
ae958cb124
@ -389,7 +389,7 @@ AccountDelegate::paint ( QPainter* painter, const QStyleOptionViewItem& option,
|
||||
const int countW = painter->fontMetrics().width( count );
|
||||
const QRect countRect( runningEdge + 50, starsTop, countW, painter->fontMetrics().height() );
|
||||
count = painter->fontMetrics().elidedText( count, Qt::ElideRight, rightEdge - PADDING - countRect.left() );
|
||||
painter->drawText( countRect, Qt::AlignLeft | Qt::TextWordWrap, count );
|
||||
painter->drawText( countRect, Qt::AlignLeft, count );
|
||||
// runningEdge = authorRect.x();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user