mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 12:02:48 +01:00
Disable Grooveshark and Spotify in global search by default, because user needs a premium account to use these services
This commit is contained in:
parent
f03d48164f
commit
b3bf374b6e
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user