Commit 4bc32868 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: display the select SD in playlist.

Maybe playlist_ServicesDiscoveryAdd could return the playlist_item_t* ?
This is ugly, and should be fixed.
parent 9ce7dea9
...@@ -83,8 +83,8 @@ void PLSelector::setSource( QTreeWidgetItem *item ) ...@@ -83,8 +83,8 @@ void PLSelector::setSource( QTreeWidgetItem *item )
if( !playlist_IsServicesDiscoveryLoaded( THEPL, qtu( qs ) ) ) if( !playlist_IsServicesDiscoveryLoaded( THEPL, qtu( qs ) ) )
{ {
playlist_ServicesDiscoveryAdd( THEPL, qtu( qs ) ); playlist_ServicesDiscoveryAdd( THEPL, qtu( qs ) );
//FIXME we should return the playlist_item_t; #warning FIXME
emit NULL; emit activated( THEPL->p_root_category->pp_children[THEPL->p_root_category->i_children-1] );
} }
} }
else if( i_type == PL_TYPE || i_type == ML_TYPE ) else if( i_type == PL_TYPE || i_type == ML_TYPE )
......
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