vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Thu Aug 24 
16:11:34 2017 +0200| [647e3584579bf7965e05601e143ffa2addecf6ad] | committer: 
Hugo Beauzée-Luyssen

Revert "Qt: force the rebuild of the view to properly sort playlist items"

This reverts commit 9b68e7653fa4885ef239c23c3e26c4f5790258e2.
Fix #18577

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

 modules/gui/qt/components/playlist/playlist_model.cpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/modules/gui/qt/components/playlist/playlist_model.cpp 
b/modules/gui/qt/components/playlist/playlist_model.cpp
index ebccf8ad76..2b6d0e1ccc 100644
--- a/modules/gui/qt/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt/components/playlist/playlist_model.cpp
@@ -647,11 +647,7 @@ void PLModel::processItemAppend( int i_pl_itemid, int 
i_pl_itemidparent )
     if ( newItem->inputItem() == THEMIM->currentInputItem() )
         emit currentIndexChanged( index( newItem, 0 ) );
 
-    if( latestSearch.isEmpty() )
-    {
-        rebuild();
-        return;
-    }
+    if( latestSearch.isEmpty() ) return;
     filter( latestSearch, index( rootItem, 0), false /*FIXME*/ );
 }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to