Commit da1239a1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: do not search SD if the text is empty

parent 0ba592f9
...@@ -231,7 +231,7 @@ void StandardPLPanel::searchDelayed() ...@@ -231,7 +231,7 @@ void StandardPLPanel::searchDelayed()
if( type == SD_TYPE ) if( type == SD_TYPE )
{ {
if( !name.isEmpty() ) if( !name.isEmpty() && !searchEdit->text().isEmpty() )
playlist_QueryServicesDiscovery( THEPL, qtu(name), qtu(searchEdit->text() ) ); playlist_QueryServicesDiscovery( THEPL, qtu(name), qtu(searchEdit->text() ) );
} }
} }
......
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