From aa3d28141d0a134f1bafac05432c879407b572fa Mon Sep 17 00:00:00 2001 From: Justin Clift Date: Sun, 9 Aug 2020 22:04:42 +1000 Subject: [PATCH] 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. --- src/RemoteNetwork.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/RemoteNetwork.cpp b/src/RemoteNetwork.cpp index 773bf8bd..11115a76 100644 --- a/src/RemoteNetwork.cpp +++ b/src/RemoteNetwork.cpp @@ -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