diff options
author | Palo Kisa <palo.kisa@gmail.com> | 2017-04-27 11:22:54 +0200 |
---|---|---|
committer | Palo Kisa <palo.kisa@gmail.com> | 2017-04-27 09:31:27 +0000 |
commit | bf21f71b43b3f45d527af81b90bfb3919b2d38f0 (patch) | |
tree | 7067e0bada8a2c905ff416b195f2b1136eeae38a | |
parent | affb6700a4a9621e5c80ac1f733f891cb31be701 (diff) |
qhttpthreaddelegate: Fix build with -no-ssl after @70d8460fc20
Just fixing the typo -> misplaced #ifndef guard.
Change-Id: Ib3b0ceb615f45291cb64a0ed6c7f3a370dc506bf
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
-rw-r--r-- | src/network/access/qhttpthreaddelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qhttpthreaddelegate.cpp b/src/network/access/qhttpthreaddelegate.cpp index 603f5dc9ab..3d17664ed4 100644 --- a/src/network/access/qhttpthreaddelegate.cpp +++ b/src/network/access/qhttpthreaddelegate.cpp @@ -293,10 +293,10 @@ void QHttpThreadDelegate::startRequest() = httpRequest.isHTTP2Allowed() ? QHttpNetworkConnection::ConnectionTypeHTTP2 : QHttpNetworkConnection::ConnectionTypeHTTP; +#ifndef QT_NO_SSL if (ssl && !incomingSslConfiguration.data()) incomingSslConfiguration.reset(new QSslConfiguration); -#ifndef QT_NO_SSL if (httpRequest.isHTTP2Allowed() && ssl) { QList<QByteArray> protocols; protocols << QSslConfiguration::ALPNProtocolHTTP2 |