Commit a065e2d9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: set the cover art (if any) at CoverArt widget construction

parent de54e767
...@@ -525,7 +525,11 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i ) ...@@ -525,7 +525,11 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i )
CONNECT( action, triggered(), this, setArtFromFile() ); CONNECT( action, triggered(), this, setArtFromFile() );
addAction( action ); addAction( action );
showArtUpdate( "" ); p_item = THEMIM->currentInputItem();
if( p_item )
showArtUpdate( p_item );
else
showArtUpdate( "" );
} }
CoverArtLabel::~CoverArtLabel() CoverArtLabel::~CoverArtLabel()
......
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