1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

Don't require text to be set for GenericBox

This commit is contained in:
Teo Mrnjavac
2013-09-27 14:22:36 +02:00
parent 40ff72d9e2
commit a0edbf1858

View File

@@ -393,7 +393,7 @@ PlaylistItemDelegate::drawGenericBox( QPainter* painter, const QStyleOptionViewI
drawRichText( painter, option, textRect, Qt::AlignVCenter|Qt::AlignRight, textDoc );
if ( !sources.isEmpty() && !textDoc.isEmpty() )
if ( !sources.isEmpty() )
drawRectForBox( painter, innerRect );
QRect avatarsRect = innerRect.adjusted( textDoc.idealWidth() + 3*4, 4, -4, -4 );