mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
* Request default avatar in correct size.
This commit is contained in:
parent
17b084db0b
commit
82ceec54b1
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user