Iterate QMap values
This commit is contained in:
@@ -1137,7 +1137,8 @@ QString QobuzRequest::ParseSong(Song &song, const QJsonObject &json_obj, QString
|
||||
|
||||
void QobuzRequest::GetAlbumCovers() {
|
||||
|
||||
for (const Song &song : songs_) {
|
||||
const SongList songs = songs_.values();
|
||||
for (const Song &song : songs) {
|
||||
AddAlbumCoverRequest(song);
|
||||
}
|
||||
FlushAlbumCoverRequests();
|
||||
|
||||
Reference in New Issue
Block a user