mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
* Remove silly nesting.
This commit is contained in:
@@ -310,9 +310,8 @@ Source::avatar( TomahawkUtils::ImageMode style, const QSize& size, bool defaultA
|
||||
}
|
||||
}
|
||||
|
||||
if ( d->avatarLoaded )
|
||||
if ( d->avatarLoaded && d->avatar )
|
||||
{
|
||||
if ( d->avatar )
|
||||
return d->avatar->scaled( size, Qt::KeepAspectRatio, Qt::SmoothTransformation );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user