void StandardPLPanel::searchDelayed( const QString& searchText ) { int type; QString name; p_selector->getCurrentSelectedItem( &type, &name ); if( type == SD_TYPE ) { if( !name.isEmpty() && !searchText.isEmpty() ) playlist_ServicesDiscoveryControl( THEPL, qtu( name ), SD_CMD_SEARCH, qtu( searchText ) ); } }
void StandardPLPanel::searchDelayed( const QString& searchText ) { int type; QString name; bool can_search; p_selector->getCurrentItemInfos( &type, &can_search, &name ); if( type == SD_TYPE && can_search ) { msg_Err( p_intf, "SEARCHING DELAYED"); if( !name.isEmpty() && !searchText.isEmpty() ) playlist_ServicesDiscoveryControl( THEPL, qtu( name ), SD_CMD_SEARCH, qtu( searchText ) ); } }