Use QJsonValueRef

This commit is contained in:
Jonas Kvinge
2021-03-26 22:10:43 +01:00
parent 14fb647647
commit 91ab8e22b7
16 changed files with 50 additions and 48 deletions

View File

@@ -270,7 +270,7 @@ void TidalStreamURLRequest::StreamURLReceived() {
return;
}
QJsonArray json_array_urls = json_urls.toArray();
for (const QJsonValue value : json_array_urls) {
for (const QJsonValueRef value : json_array_urls) {
urls << QUrl(value.toString());
}
}