Commit 0482cd9b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix album Art update

Master and branch have diverged a bit more than I thought, on this
matter.
parent c147f2db
...@@ -519,9 +519,11 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i ) ...@@ -519,9 +519,11 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i )
CONNECT( action, triggered(), this, askForUpdate() ); CONNECT( action, triggered(), this, askForUpdate() );
addAction( action ); addAction( action );
p_item = THEMIM->currentInputItem(); input_item_t *p_item = THEMIM->currentInputItem();
if( p_item ) if( p_item )
showArtUpdate( p_item ); {
showArtUpdate( THEMIM->getIM()->decodeArtURL( p_item ) );
}
else else
showArtUpdate( "" ); showArtUpdate( "" );
} }
......
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