mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-18 23:09:42 +01:00
* Source/style cleanup.
This commit is contained in:
parent
6f4a26220d
commit
330efc5833
@ -68,7 +68,7 @@ void SettingsListDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
|
||||
QRect textRect = option.rect.adjusted( 6, iconRect.height() + 8, -6, 0 );
|
||||
QString text = painter->fontMetrics().elidedText( index.data( Qt::DisplayRole ).toString(), Qt::ElideRight, textRect.width() );
|
||||
QTextOption to( Qt::AlignHCenter );
|
||||
painter->drawText( textRect, text, to);
|
||||
painter->drawText( textRect, text, to );
|
||||
|
||||
painter->restore();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user