mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-21 16:31:58 +02:00
* Uppercase most of the sidebar.
This commit is contained in:
parent
ee11ff0bb7
commit
b13a08cb05
@ -143,7 +143,7 @@ SourceDelegate::paintStandardItem( QPainter* painter, const QStyleOptionViewItem
|
||||
painter->drawPixmap( iconRect, opt.icon.pixmap( iconRect.size(), iconMode ) );
|
||||
|
||||
QRect textRect = opt.rect.adjusted( iconRect.width() + 22, 0, -32, 0 );
|
||||
QString text = painter->fontMetrics().elidedText( opt.text, Qt::ElideRight, textRect.width() );
|
||||
QString text = painter->fontMetrics().elidedText( opt.text.toUpper(), Qt::ElideRight, textRect.width() );
|
||||
{
|
||||
QTextOption to( Qt::AlignVCenter );
|
||||
to.setWrapMode( QTextOption::NoWrap );
|
||||
|
Loading…
x
Reference in New Issue
Block a user