]> git.sesse.net Git - vlc/commitdiff
Qt: cosmetics
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 17 Nov 2011 00:25:57 +0000 (01:25 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 17 Nov 2011 00:25:57 +0000 (01:25 +0100)
modules/gui/qt4/components/playlist/playlist_model.cpp

index a55dd9beb6200b61b672c8e8c628fd004eddb9ac..0297b643063ca669cc49633b189c7fdcd2284eba 100644 (file)
@@ -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