From 8f3d9ba1a4c19537476f5539593d7a4326163048 Mon Sep 17 00:00:00 2001 From: yansong Date: Wed, 29 Nov 2023 19:48:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A6=81=E5=9C=A8=E6=9C=80=E5=90=8E=E7=AD=89?= =?UTF-8?q?=E5=BE=85=EF=BC=8C=E4=B8=8D=E7=84=B6=E4=BC=9A=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/HttpClient.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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