mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 07:07:05 +02:00
* Fixed text-width calculation after my latest patch.
This commit is contained in:
@@ -80,7 +80,7 @@ JobStatusDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option,
|
|||||||
rightEdge = rRect.left();
|
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();
|
QString mainText = index.data( Qt::DisplayRole ).toString();
|
||||||
QTextOption to( Qt::AlignLeft | Qt::AlignVCenter );
|
QTextOption to( Qt::AlignLeft | Qt::AlignVCenter );
|
||||||
if ( !allowMultiLine )
|
if ( !allowMultiLine )
|
||||||
|
Reference in New Issue
Block a user