]> git.sesse.net Git - vlc/commitdiff
Qt4: typo in playlist_item
authorIlkka Ollakka <ileoo@videolan.org>
Thu, 13 Aug 2009 13:51:42 +0000 (16:51 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 13 Aug 2009 13:51:42 +0000 (16:51 +0300)
modules/gui/qt4/components/playlist/playlist_item.cpp

index 4b548064b96693a58e629d191ed797e6061ae424..f9e3b8a5fb305f363fd9cfb132a499f05c8144d5 100644 (file)
@@ -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 );