diff --git a/src/HttpClient.h b/src/HttpClient.h index 627e546..21896b5 100644 --- a/src/HttpClient.h +++ b/src/HttpClient.h @@ -1463,16 +1463,16 @@ void HttpResponse::setHttpRequest(const HttpRequest &httpRequest) } } - if (reply && httpRequest.m_isBlock) { - new HttpBlocker(reply, httpRequest.m_isBlock); - } - HttpRequest oldRequest = m_httpRequest; m_httpRequest = httpRequest; if (oldRequest.m_reply != httpRequest.m_reply) { emit replyChanged(httpRequest.m_reply); } + + if (reply && httpRequest.m_isBlock) { + new HttpBlocker(reply, httpRequest.m_isBlock); + } } QString HttpResponse::toString() const