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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user