This commit is contained in:
Nav
2021-10-21 19:24:48 +01:00
parent 9b21e55815
commit 6b11956c90
27 changed files with 93 additions and 93 deletions

View File

@@ -17,7 +17,7 @@ void QueryLatestVersionNumber::run(TargetControllerConsole& targetControllerCons
}));
auto response = networkAccessManager->get(QNetworkRequest(queryVersionEndpointUrl));
this->connect(response, &QNetworkReply::finished, this, [this, response] {
QObject::connect(response, &QNetworkReply::finished, this, [this, response] {
const auto jsonResponseObject = QJsonDocument::fromJson(response->readAll()).object();
if (jsonResponseObject.contains("latestVersionNumber")) {