1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 17:14:00 +02:00

* Make sidebar icons smaller.

This commit is contained in:
Christian Muehlhaeuser
2014-08-21 07:24:48 +02:00
parent b2b30cc808
commit 6160122192

View File

@@ -138,7 +138,7 @@ SourceDelegate::paintStandardItem( QPainter* painter, const QStyleOptionViewItem
painter->setOpacity( 1.0 );
}
QRect iconRect = opt.rect.adjusted( 14, 1, 0, -1 );
QRect iconRect = opt.rect.adjusted( 14, 4, 0, -4 );
iconRect.setWidth( iconRect.height() );
painter->drawPixmap( iconRect, opt.icon.pixmap( iconRect.size(), iconMode ) );