Formatting
This commit is contained in:
@@ -707,7 +707,7 @@ void QobuzRequest::AlbumsFinishCheck(const QString &artist_id, const int limit,
|
||||
|
||||
// Get songs for all the albums.
|
||||
|
||||
QHash<QString, Request> ::iterator it;
|
||||
QHash<QString, Request>::iterator it;
|
||||
for (it = album_songs_requests_pending_.begin(); it != album_songs_requests_pending_.end(); ++it) {
|
||||
Request request = it.value();
|
||||
AddAlbumSongsRequest(request.artist_id, request.album_id, request.album_artist, request.album);
|
||||
|
||||
@@ -716,19 +716,17 @@ void QobuzService::SendSearch() {
|
||||
|
||||
search_request_->Search(search_id_, search_text_);
|
||||
search_request_->Process();
|
||||
|
||||
}
|
||||
|
||||
void QobuzService::SearchResultsReceived(const int id, const SongMap &songs, const QString &error) {
|
||||
|
||||
search_request_.reset();
|
||||
emit SearchResults(id, songs, error);
|
||||
|
||||
}
|
||||
|
||||
uint QobuzService::GetStreamURL(const QUrl &url, QString &error) {
|
||||
|
||||
if (app_id().isEmpty() || app_secret().isEmpty()) { // Don't check for login here, because we allow automatic login.
|
||||
if (app_id().isEmpty() || app_secret().isEmpty()) { // Don't check for login here, because we allow automatic login.
|
||||
error = tr("Missing Qobuz app ID or secret.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user