Check if the blob is availabe in Spotify search provider.

This commit is contained in:
Andreas 2014-09-29 18:44:20 +02:00
parent 40a5590108
commit a667dceb29

View File

@ -46,6 +46,9 @@ SpotifyServer* SpotifySearchProvider::server() {
if (service_->login_state() != SpotifyService::LoginState_LoggedIn)
return nullptr;
if (!service_->IsBlobInstalled())
return nullptr;
server_ = service_->server();
connect(server_, SIGNAL(SearchResults(pb::spotify::SearchResponse)),
SLOT(SearchFinishedSlot(pb::spotify::SearchResponse)));