Add missing reference
This commit is contained in:
parent
dde8661e93
commit
69f8ca95bc
|
@ -249,7 +249,7 @@ void LastFmCoverProvider::QueryFinished(QNetworkReply *reply, const int id, cons
|
|||
const QJsonArray array_image = json_image.toArray();
|
||||
QString image_url_use;
|
||||
LastFmImageSize image_size_use = LastFmImageSize::Unknown;
|
||||
for (const QJsonValue value_image : array_image) {
|
||||
for (const QJsonValue &value_image : array_image) {
|
||||
if (!value_image.isObject()) {
|
||||
Error(QStringLiteral("Invalid Json reply, album image value is not an object."));
|
||||
continue;
|
||||
|
|
|
@ -185,7 +185,7 @@ void MusicbrainzCoverProvider::HandleSearchReply(QNetworkReply *reply, const int
|
|||
const QJsonArray array_artists = json_artists.toArray();
|
||||
int i = 0;
|
||||
QString artist;
|
||||
for (const QJsonValue value_artist : array_artists) {
|
||||
for (const QJsonValue &value_artist : array_artists) {
|
||||
if (!value_artist.isObject()) {
|
||||
Error(QStringLiteral("Invalid Json reply, artist is not a object."));
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue