mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +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 );
|
return d->avatar->scaled( size, Qt::KeepAspectRatio, Qt::SmoothTransformation );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user