From 82ceec54b15fc2e2d9c4f611a75f0e041839e8e5 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 22 Aug 2014 01:20:19 +0200 Subject: [PATCH] * Request default avatar in correct size. --- src/libtomahawk/playlist/PlaylistItemDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/PlaylistItemDelegate.cpp b/src/libtomahawk/playlist/PlaylistItemDelegate.cpp index 1e45c87e3..0c86af95c 100644 --- a/src/libtomahawk/playlist/PlaylistItemDelegate.cpp +++ b/src/libtomahawk/playlist/PlaylistItemDelegate.cpp @@ -539,7 +539,7 @@ PlaylistItemDelegate::drawSource( QPainter* painter, const QStyleOptionViewItem& QPixmap avatar = item->source()->avatar( TomahawkUtils::RoundedCorners, avatarRect.size() ) ; if ( avatar.isNull() ) { - avatar = TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultSourceAvatar, TomahawkUtils::RoundedCorners ); + avatar = TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultSourceAvatar, TomahawkUtils::RoundedCorners, avatarRect.size() ); } painter->drawPixmap( avatarRect, avatar );