Commit e93d89f9 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Fix display of album art

parent db4b575c
......@@ -123,13 +123,9 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i,
void PlaylistWidget::setArt( QString url )
{
if( url.isEmpty() )
if( prevArt != url )
{
art->setPixmap( QPixmap( ":/noart.png" ) );
}
else if( prevArt != url )
{
art->setPixmap( QPixmap( url ) );
art->setPixmap( QPixmap( url.isEmpty() ? ":/noart.png" : url ) );
prevArt = url;
}
}
......
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