Comment out additional gotReply() signal connection

This is just a temporary patch until Martin has time to look at
this properly.

This code needs to be commented out (for now), as it's conflicting
with the previous commit. However that one is needed for the
application to function, so I'm giving that one priority.
This commit is contained in:
Justin Clift
2020-08-09 22:04:42 +10:00
parent 40c132e988
commit aa3d28141d
+5 -5
View File
@@ -425,11 +425,11 @@ void RemoteNetwork::fetch(const QUrl& url, RequestType type, const QString& clie
if(handleReply(reply))
when_finished(reply->readAll());
});
} else {
connect(reply, &QNetworkReply::finished, this, [this, reply]() {
if(handleReply(reply))
gotReply(reply);
});
// } else {
// connect(reply, &QNetworkReply::finished, this, [this, reply]() {
// if(handleReply(reply))
// gotReply(reply);
// });
}
// When the synchrounous flag is set we wait for the request to finish before continuing