diff options
| author | Mike Skec <skec@protonmail.ch> | 2020-12-31 12:33:49 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2020-12-31 10:13:49 +0100 |
| commit | dd8ebd62c544c3af16da80bda80b998108d9d09a (patch) | |
| tree | d3353c843ff68cbe60d5c8635532d4d48bec4f74 /src/protocols/webclient.cpp | |
| parent | 775b20cbe634928eebbfe8947bfa4093df30e6ef (diff) | |
| download | kristall-dd8ebd62c544c3af16da80bda80b998108d9d09a.tar.gz | |
Fixes a few warnings and deprecation notices
Diffstat (limited to 'src/protocols/webclient.cpp')
| -rw-r--r-- | src/protocols/webclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/webclient.cpp b/src/protocols/webclient.cpp index 299b39b..e4a2036 100644 --- a/src/protocols/webclient.cpp +++ b/src/protocols/webclient.cpp @@ -47,7 +47,7 @@ bool WebClient::startRequest(const QUrl &url, RequestOptions options) } // request.setMaximumRedirectsAllowed(5); - request.setAttribute(QNetworkRequest::FollowRedirectsAttribute, false); + request.setAttribute(QNetworkRequest::RedirectPolicyAttribute, QNetworkRequest::ManualRedirectPolicy); request.setSslConfiguration(ssl_config); this->manager.clearAccessCache(); |
