vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Mon Nov 14 23:59:05 2016 +0200| [9cb3c475361c07fa318b530517659b905e08277f] | committer: Rémi Denis-Courmont
qt: input item IDs are not negative Or they are not until we have 2 billions of them, and even then, the sign is not relevant. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9cb3c475361c07fa318b530517659b905e08277f --- modules/gui/qt/components/playlist/playlist_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/qt/components/playlist/playlist_model.cpp b/modules/gui/qt/components/playlist/playlist_model.cpp index 679c11b..6447291 100644 --- a/modules/gui/qt/components/playlist/playlist_model.cpp +++ b/modules/gui/qt/components/playlist/playlist_model.cpp @@ -590,7 +590,7 @@ void PLModel::processInputItemUpdate( ) void PLModel::processInputItemUpdate( input_item_t *p_item ) { - if( !p_item || p_item->i_id <= 0 ) return; + if( !p_item ) return; PLItem *item = findByInputId( rootItem, p_item->i_id ); if( item ) updateTreeItem( item ); _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits