Add missing reference
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user