diff --git a/src/tomahawk/sourcetree/SourceDelegate.cpp b/src/tomahawk/sourcetree/SourceDelegate.cpp index 6e3c185c2..724bd8b82 100644 --- a/src/tomahawk/sourcetree/SourceDelegate.cpp +++ b/src/tomahawk/sourcetree/SourceDelegate.cpp @@ -443,6 +443,9 @@ SourceDelegate::paintGroup( QPainter* painter, const QStyleOptionViewItem& optio void SourceDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const { + if ( option.rect.height() == 0 ) + return; + QStyleOptionViewItemV4 optIndentation = option; QStyleOptionViewItemV4 opt = option;