Commit 98b99166 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: cosmetics

parent 52200952
......@@ -861,7 +861,7 @@ void PLModel::search( const QString& search_text, const QModelIndex & idx, bool
playlist_item_t *p_root = playlist_ItemGetById( p_playlist,
itemId( idx ) );
assert( p_root );
playlist_LiveSearchUpdate( p_playlist , p_root, qtu( search_text ),
playlist_LiveSearchUpdate( p_playlist, p_root, qtu( search_text ),
b_recursive );
if( idx.isValid() )
{
......@@ -869,7 +869,7 @@ void PLModel::search( const QString& search_text, const QModelIndex & idx, bool
beginRemoveRows( idx, 0, searchRoot->childCount() - 1 );
searchRoot->removeChildren();
endRemoveRows( );
endRemoveRows();
beginInsertRows( idx, 0, searchRoot->childCount() - 1 );
updateChildren( searchRoot ); // The PL_LOCK is needed here
......
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