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();
|
const QJsonArray array_image = json_image.toArray();
|
||||||
QString image_url_use;
|
QString image_url_use;
|
||||||
LastFmImageSize image_size_use = LastFmImageSize::Unknown;
|
LastFmImageSize image_size_use = LastFmImageSize::Unknown;
|
||||||
for (const QJsonValue value_image : array_image) {
|
for (const QJsonValue &value_image : array_image) {
|
||||||
if (!value_image.isObject()) {
|
if (!value_image.isObject()) {
|
||||||
Error(QStringLiteral("Invalid Json reply, album image value is not an object."));
|
Error(QStringLiteral("Invalid Json reply, album image value is not an object."));
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -185,7 +185,7 @@ void MusicbrainzCoverProvider::HandleSearchReply(QNetworkReply *reply, const int
|
||||||
const QJsonArray array_artists = json_artists.toArray();
|
const QJsonArray array_artists = json_artists.toArray();
|
||||||
int i = 0;
|
int i = 0;
|
||||||
QString artist;
|
QString artist;
|
||||||
for (const QJsonValue value_artist : array_artists) {
|
for (const QJsonValue &value_artist : array_artists) {
|
||||||
if (!value_artist.isObject()) {
|
if (!value_artist.isObject()) {
|
||||||
Error(QStringLiteral("Invalid Json reply, artist is not a object."));
|
Error(QStringLiteral("Invalid Json reply, artist is not a object."));
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue