Commit dcd59284 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: passing pointers over thread signals is not allowed...

...unless proper reference counting si involved,
or the signal is blocking queued (but that is deadlock-prone).

Ref: LP#528285
parent 077b6674
...@@ -162,6 +162,8 @@ MetaPanel::MetaPanel( QWidget *parent, ...@@ -162,6 +162,8 @@ MetaPanel::MetaPanel( QWidget *parent,
**/ **/
void MetaPanel::update( input_item_t *p_item ) void MetaPanel::update( input_item_t *p_item )
{ {
#warning This is wrong.
#if 0
if( !p_item ) if( !p_item )
{ {
clear(); clear();
...@@ -243,7 +245,7 @@ void MetaPanel::update( input_item_t *p_item ) ...@@ -243,7 +245,7 @@ void MetaPanel::update( input_item_t *p_item )
} }
art_cover->showArtUpdate( file ); art_cover->showArtUpdate( file );
#endif
} }
/** /**
......
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