Commit 647e3584 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

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

This reverts commit 9b68e765.
Fix #18577
parent 87b923a8
......@@ -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*/ );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment