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,10 +310,9 @@ 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 );
|
||||||
return d->avatar->scaled( size, Qt::KeepAspectRatio, Qt::SmoothTransformation );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( defaultAvatarFallback )
|
if ( defaultAvatarFallback )
|
||||||
|
Reference in New Issue
Block a user