diff --git a/src/libtomahawk/playlist/playlistitemdelegate.cpp b/src/libtomahawk/playlist/playlistitemdelegate.cpp index 80e4220c7..fe18db54d 100644 --- a/src/libtomahawk/playlist/playlistitemdelegate.cpp +++ b/src/libtomahawk/playlist/playlistitemdelegate.cpp @@ -203,7 +203,10 @@ PlaylistItemDelegate::paintShort( QPainter* painter, const QStyleOptionViewItem& QRect ir = r.adjusted( 4, 0, -option.rect.width() + option.rect.height() - 8 + r.left(), 0 ); if ( useAvatars ) - pixmap = source->avatar( Source::FancyStyle, ir.size() ); + { + if ( !source.isNull() ) + pixmap = source->avatar( Source::FancyStyle, ir.size() ); + } else pixmap = item->query()->cover( ir.size(), false );