1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

* Fixed text-width calculation after my latest patch.

This commit is contained in:
Christian Muehlhaeuser
2012-06-29 02:12:53 +02:00
parent 5827974b45
commit fdcd2aa728

View File

@@ -80,7 +80,7 @@ JobStatusDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
rightEdge = rRect.left();
}
const int mainW = rightEdge - 3 * PADDING - iconRect.right();
const int mainW = rightEdge - 4 * PADDING - iconRect.right();
QString mainText = index.data( Qt::DisplayRole ).toString();
QTextOption to( Qt::AlignLeft | Qt::AlignVCenter );
if ( !allowMultiLine )