]> git.sesse.net Git - vlc/commitdiff
skins2: remove unused function
authorErwan Tulou <erwan10@videolan.org>
Tue, 10 Aug 2010 11:34:13 +0000 (13:34 +0200)
committerErwan Tulou <erwan10@videolan.org>
Tue, 10 Aug 2010 16:54:36 +0000 (18:54 +0200)
modules/gui/skins2/utils/var_tree.cpp
modules/gui/skins2/utils/var_tree.hpp
modules/gui/skins2/vars/playtree.cpp

index 9d71575f6dd0f980a42e76f7fc66aa7589650779..a6fb750c4be6e5908fc18951946de9da1ae1e914 100644 (file)
@@ -194,18 +194,6 @@ VarTree::Iterator VarTree::prev_uncle()
     return root()->begin();
 }
 
-
-void VarTree::checkParents( VarTree *pParent )
-{
-    m_pParent = pParent;
-    Iterator it = begin();
-    while( it != end() )
-    {
-        it->checkParents( this );
-        it++;
-    }
-}
-
 int VarTree::visibleItems()
 {
     int i_count = size();
index 3291dc23e45fe48431c983928760ee4455a6c9d2..7be58ad4ead19678b689dbfe3ba040e901dc9308 100644 (file)
@@ -103,7 +103,6 @@ public:
 
     /// Parent node
     VarTree *parent() { return m_pParent; }
-    void checkParents( VarTree *pParent );
 
     /// Get next sibling
     Iterator getNextSibling( Iterator );
index bcc6fe66c46cd376b9d6dbba430738f07702af2f..43cba38ce6a43fe2b542fad1625691366ad4bd8a 100644 (file)
@@ -274,7 +274,5 @@ void Playtree::buildTree()
     buildNode( m_pPlaylist->p_root_category, *this );
 
     playlist_Unlock( m_pPlaylist );
-//  What is it ?
-//    checkParents( NULL );
 }