[vlc-devel] commit: Qt4: typo in playlist_item (Ilkka Ollakka )

git version control git at videolan.org
Thu Aug 13 15:51:59 CEST 2009


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Aug 13 16:51:42 2009 +0300| [3ecb268ccbcfdafaa7d8dc8f81571d5e88a18cf8] | committer: Ilkka Ollakka 

Qt4: typo in playlist_item

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

 .../gui/qt4/components/playlist/playlist_item.cpp  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/playlist_item.cpp b/modules/gui/qt4/components/playlist/playlist_item.cpp
index 4b54806..f9e3b8a 100644
--- a/modules/gui/qt4/components/playlist/playlist_item.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_item.cpp
@@ -56,7 +56,7 @@ void PLItem::init( playlist_item_t *_playlist_item, PLItem *parent, PLModel *m,
     model      = m;               /* PLModel (QAbsmodel) */
     i_type     = -1;              /* Item type - Avoid segfault */
     b_current  = false;           /* Is the item the current Item or not */
-    b_is_node  = _playlist_item->i_children > 1;
+    b_is_node  = _playlist_item->i_children > -1;
     p_input    = _playlist_item->p_input;
     vlc_gc_incref( p_input );
 




More information about the vlc-devel mailing list