Commit 0ba54f49 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.
parent 3e2e7f2a
...@@ -593,7 +593,8 @@ void CoverArtLabel::showArtUpdate( const QString& url ) ...@@ -593,7 +593,8 @@ void CoverArtLabel::showArtUpdate( const QString& url )
if( !url.isEmpty() && pix.load( url ) ) if( !url.isEmpty() && pix.load( url ) )
{ {
pix = pix.scaled( maximumWidth(), maximumHeight(), pix = pix.scaled( maximumWidth(), maximumHeight(),
Qt::KeepAspectRatioByExpanding ); Qt::KeepAspectRatioByExpanding,
Qt::SmoothTransformation );
} }
else 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