diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2020-08-11 10:15:10 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2020-09-15 10:08:15 +0000 |
commit | 0d6ad0b1d4741bbd381da3f7cf87e7ac00b2c015 (patch) | |
tree | fe12466004b7974b94164c3ee1cc29362ca1f3c6 /src | |
parent | 7d3884f7296dd4b27aad492aab9a1dcbbea2b89d (diff) |
QNetworkRequest: mark FollowRedirectsAttribute as deprecated
We want to remove it in 6.0 when we make its behavior the new default
and there is already an established alternative in 5.15. Deprecating
this value will hopefully nudge people toward using it and making their
code easier to transition to Qt 6.
Task-number: QTBUG-85901
Change-Id: I6504df15b38a9a2530510eef7674cf9b1de88a14
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/network/access/qnetworkrequest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkrequest.h b/src/network/access/qnetworkrequest.h index 73f080f2fd..8a85f2dc9f 100644 --- a/src/network/access/qnetworkrequest.h +++ b/src/network/access/qnetworkrequest.h @@ -94,7 +94,7 @@ public: SpdyWasUsedAttribute, #endif // QT_DEPRECATED_SINCE(5, 15) EmitAllUploadProgressSignalsAttribute = BackgroundRequestAttribute + 3, - FollowRedirectsAttribute, + FollowRedirectsAttribute Q_DECL_ENUMERATOR_DEPRECATED_X("Use RedirectPolicyAttribute"), Http2AllowedAttribute, Http2WasUsedAttribute, #if QT_DEPRECATED_SINCE(5, 15) |