[vlc-devel] commit: 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. (Fabio Ritrovato )

git version control git at videolan.org
Mon Aug 11 17:39:11 CEST 2008


vlc | branch: master | Fabio Ritrovato <exsephiroth87 at gmail.com> | Fri Jul 18 16:52:23 2008 +0200| [77e50bbee08bb62e86b1dfc9e7a22debecf08503] | committer: Jean-Baptiste Kempf 

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: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=77e50bbee08bb62e86b1dfc9e7a22debecf08503
---

 modules/gui/skins2/vars/playtree.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/skins2/vars/playtree.cpp b/modules/gui/skins2/vars/playtree.cpp
index 0033e1c..7a79025 100644
--- a/modules/gui/skins2/vars/playtree.cpp
+++ b/modules/gui/skins2/vars/playtree.cpp
@@ -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,




More information about the vlc-devel mailing list