QHttpNetworkRequestPrivate: copy and compare local server name
Because I forgot in the original commit Fixes: QTBUG-131801 Change-Id: I597673b13e01fdfa22ae178dd1a82671e52794c1 Reviewed-by: Lena Biliaieva <lena.biliaieva@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Mate Barany <mate.barany@qt.io> (cherry picked from commit fd923ad6e900593d56b6b0f84e8e796a9d8e4ed7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
47d584b281
commit
1fe4271af0
@ -21,6 +21,7 @@ QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate(const QHttpNetworkRequest
|
||||
: QHttpNetworkHeaderPrivate(other),
|
||||
operation(other.operation),
|
||||
customVerb(other.customVerb),
|
||||
fullLocalServerName(other.fullLocalServerName),
|
||||
priority(other.priority),
|
||||
uploadByteDevice(other.uploadByteDevice),
|
||||
autoDecompress(other.autoDecompress),
|
||||
@ -46,6 +47,7 @@ bool QHttpNetworkRequestPrivate::operator==(const QHttpNetworkRequestPrivate &ot
|
||||
{
|
||||
return QHttpNetworkHeaderPrivate::operator==(other)
|
||||
&& (operation == other.operation)
|
||||
&& (fullLocalServerName == other.fullLocalServerName)
|
||||
&& (priority == other.priority)
|
||||
&& (uploadByteDevice == other.uploadByteDevice)
|
||||
&& (autoDecompress == other.autoDecompress)
|
||||
|
Loading…
x
Reference in New Issue
Block a user