Commit 0e6ed51e authored by Ilkka Ollakka's avatar Ilkka Ollakka

Qt4: load coverart properly under selector

We don't define maximumWidth for that anymore, so there was this
'QImage: out of memory, returning null' message and no albumart on side.
parent 77e3e709
......@@ -496,7 +496,7 @@ void CoverArtLabel::showArtUpdate( const QString& url )
QPixmap pix;
if( !url.isEmpty() && pix.load( url ) )
{
pix = pix.scaled( maximumWidth(), maximumHeight(),
pix = pix.scaled( minimumWidth(), maximumHeight(),
Qt::KeepAspectRatioByExpanding,
Qt::SmoothTransformation );
}
......
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