vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Sun Oct 24 03:38:46 2010 +0200| [da1239a1439eb3bfe753a37300bc04ddc6fb4de6] | committer: Jean-Baptiste Kempf
Qt: do not search SD if the text is empty > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=da1239a1439eb3bfe753a37300bc04ddc6fb4de6 --- .../gui/qt4/components/playlist/standardpanel.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp index 88a6573..217f699 100644 --- a/modules/gui/qt4/components/playlist/standardpanel.cpp +++ b/modules/gui/qt4/components/playlist/standardpanel.cpp @@ -231,7 +231,7 @@ void StandardPLPanel::searchDelayed() if( type == SD_TYPE ) { - if( !name.isEmpty() ) + if( !name.isEmpty() && !searchEdit->text().isEmpty() ) playlist_QueryServicesDiscovery( THEPL, qtu(name), qtu(searchEdit->text() ) ); } } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
