[vlc-commits] commit: Qt: adapt to new SD search function (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sun Oct 24 16:58:50 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Oct 24 16:58:25 2010 +0200| [2ad5d811df1fcb2c0229d9e21fdd93d43344d19c] | committer: Jean-Baptiste Kempf 

Qt: adapt to new SD search function

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

 .../gui/qt4/components/playlist/standardpanel.cpp  |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index 62605be..87fd385 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -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 );
     }
 }
 



More information about the vlc-commits mailing list