]> git.sesse.net Git - vlc/commitdiff
Qt: adapt to new SD search function
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Oct 2010 14:58:25 +0000 (16:58 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Oct 2010 14:58:25 +0000 (16:58 +0200)
modules/gui/qt4/components/playlist/standardpanel.cpp

index 62605beff40943d8cb0a0cfc094f08e9acacddd8..87fd3857b5afb96460e1df7534a08dcdc1cb501b 100644 (file)
@@ -37,6 +37,7 @@
 #include "input_manager.hpp"
 
 #include <vlc_intf_strings.h>
+#include <vlc_services_discovery.h>
 
 #include <QPushButton>
 #include <QHeaderView>
@@ -187,7 +188,7 @@ void StandardPLPanel::searchDelayed( const QString& searchText )
     if( type == SD_TYPE )
     {
         if( !name.isEmpty() && !searchText.isEmpty() )
-            playlist_QueryServicesDiscovery( THEPL, qtu( name ), qtu( searchText ) );
+            playlist_ServicesDiscoveryControl( THEPL, qtu( name ), SD_CMD_SEARCH );
     }
 }