Disable Grooveshark and Spotify in global search by default, because user needs a premium account to use these services

This commit is contained in:
Arnaud Bienner 2011-10-20 17:21:24 +02:00
parent f03d48164f
commit b3bf374b6e
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ GroovesharkService::GroovesharkService(InternetModel *parent)
GroovesharkSearchProvider* search_provider = new GroovesharkSearchProvider(this);
search_provider->Init(this);
model()->global_search()->AddProvider(search_provider);
model()->global_search()->AddProvider(search_provider, false);
}

View File

@ -69,7 +69,7 @@ SpotifyService::SpotifyService(InternetModel* parent)
model()->player()->playlists()->RegisterSpecialPlaylistType(
new SpotifySearchPlaylistType(this));
model()->global_search()->AddProvider(new SpotifySearchProvider(this));
model()->global_search()->AddProvider(new SpotifySearchProvider(this), false);
search_delay_->setInterval(kSearchDelayMsec);
search_delay_->setSingleShot(true);