Fix Spotify Blob installation promt. Fixes #4538.

This commit is contained in:
Andreas 2014-09-22 21:20:48 +02:00
parent eaad4c32ee
commit 4bb3147006
1 changed files with 4 additions and 2 deletions

View File

@ -96,8 +96,10 @@ GstEnginePipeline::GstEnginePipeline(GstEngine* engine)
for (int i = 0; i < kEqBandCount; ++i) eq_band_gains_ << 0;
// Spotify hack
connect(InternetModel::Service<SpotifyService>()->server(), SIGNAL(SeekCompleted()),
SLOT(SpotifySeekCompleted()));
if (InternetModel::Service<SpotifyService>()->IsBlobInstalled()) {
connect(InternetModel::Service<SpotifyService>()->server(), SIGNAL(SeekCompleted()),
SLOT(SpotifySeekCompleted()));
}
}
void GstEnginePipeline::set_output_device(const QString& sink,