Never use reference when iterating QJsonArray

This commit is contained in:
Jonas Kvinge
2020-11-13 20:34:36 +01:00
parent c0663bc19f
commit a155e503f4
16 changed files with 29 additions and 29 deletions

View File

@@ -212,7 +212,7 @@ void TidalCoverProvider::HandleSearchReply(QNetworkReply *reply, const int id) {
CoverSearchResults results;
int i = 0;
for (const QJsonValue &value_item : array_items) {
for (const QJsonValue value_item : array_items) {
if (!value_item.isObject()) {
Error("Invalid Json reply, items array item is not a object.", value_item);