]> git.sesse.net Git - vlc/commitdiff
Skins2: use the right id when creating the tree Resolve some bugs related to the...
authorFabio Ritrovato <exsephiroth87@gmail.com>
Fri, 18 Jul 2008 14:52:23 +0000 (16:52 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 11 Aug 2008 15:41:55 +0000 (08:41 -0700)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/skins2/vars/playtree.cpp

index 0033e1ce8ef9dadd6b5d6f0edd9cf2be15ad359d..7a79025d887b3e387f2b3309cc47e8453837b847 100644 (file)
@@ -198,7 +198,7 @@ void Playtree::buildNode( playlist_item_t *pNode, VarTree &rTree )
     {
         UString *pName = new UString( getIntf(),
                                    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,
                      m_pPlaylist->status.p_item == pNode->pp_children[i],
                      false, pNode->pp_children[i]->i_flags & PLAYLIST_RO_FLAG,