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

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

(cherry picked from commit a065e2d9a53b78037f99fa120bf2600aaaac2b85)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f7b388cd
...@@ -519,7 +519,11 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i ) ...@@ -519,7 +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 );
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