Commit 6163266d authored by Ilkka Ollakka's avatar Ilkka Ollakka

qt4: use slower and better scaling on albumart-label

We could use QPixmapCache here too, but I don't think it speeds up it
any noticeable way, just makes code littlebit longer.
(cherry picked from commit 0ba54f498eafa5b8c081ff37ecd65d791c3718e9)
Signed-off-by: default avatarIlkka Ollakka <ileoo@videolan.org>
parent baaca141
......@@ -587,7 +587,8 @@ void CoverArtLabel::showArtUpdate( const QString& url )
if( !url.isEmpty() && pix.load( url ) )
{
pix = pix.scaled( maximumWidth(), maximumHeight(),
Qt::KeepAspectRatioByExpanding );
Qt::KeepAspectRatioByExpanding,
Qt::SmoothTransformation );
}
else
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment