Commit 77e50bbe authored by Fabio Ritrovato's avatar Fabio Ritrovato Committed by Jean-Baptiste Kempf

Skins2: use the right id when creating the tree Resolve some bugs related to...

Skins2: use the right id when creating the tree Resolve some bugs related to the playlist in Skins2, like adding items in the wrong place, and services discovery not showing.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1807734a
...@@ -198,7 +198,7 @@ void Playtree::buildNode( playlist_item_t *pNode, VarTree &rTree ) ...@@ -198,7 +198,7 @@ void Playtree::buildNode( playlist_item_t *pNode, VarTree &rTree )
{ {
UString *pName = new UString( getIntf(), UString *pName = new UString( getIntf(),
pNode->pp_children[i]->p_input->psz_name ); pNode->pp_children[i]->p_input->psz_name );
rTree.add( pNode->pp_children[i]->p_input->i_id, UStringPtr( pName ), rTree.add( pNode->pp_children[i]->i_id, UStringPtr( pName ),
false, false,
m_pPlaylist->status.p_item == pNode->pp_children[i], m_pPlaylist->status.p_item == pNode->pp_children[i],
false, pNode->pp_children[i]->i_flags & PLAYLIST_RO_FLAG, false, pNode->pp_children[i]->i_flags & PLAYLIST_RO_FLAG,
......
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