diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2025-05-17 16:00:33 +0300 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2025-08-09 19:42:50 +0300 |
| commit | f3999e943aa471c56a4e9bdaa2adaeb73c258f11 (patch) | |
| tree | e055901c502b454aa8f387e4eee36c109bc31826 /src/network/access/qnetworkreplyhttpimpl.cpp | |
| parent | 74adf8c4a84d04f054251437255ca7d73977e23b (diff) | |
QtNetwork: build with QT_NO_SCOPED_POINTER
Task-number: QTBUG-132213
Change-Id: If644d6afd4258aa9bc3e2ea2eb05c39f4ce07c30
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network/access/qnetworkreplyhttpimpl.cpp')
| -rw-r--r-- | src/network/access/qnetworkreplyhttpimpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/access/qnetworkreplyhttpimpl.cpp b/src/network/access/qnetworkreplyhttpimpl.cpp index 690a2a69e08..bed1eed63d8 100644 --- a/src/network/access/qnetworkreplyhttpimpl.cpp +++ b/src/network/access/qnetworkreplyhttpimpl.cpp @@ -429,7 +429,7 @@ void QNetworkReplyHttpImpl::setSslConfigurationImplementation(const QSslConfigur void QNetworkReplyHttpImpl::sslConfigurationImplementation(QSslConfiguration &configuration) const { Q_D(const QNetworkReplyHttpImpl); - if (d->sslConfiguration.data()) + if (d->sslConfiguration) configuration = *d->sslConfiguration; else configuration = request().sslConfiguration(); @@ -1557,7 +1557,7 @@ void QNetworkReplyHttpImplPrivate::replySslErrors( void QNetworkReplyHttpImplPrivate::replySslConfigurationChanged(const QSslConfiguration &newSslConfiguration) { // Receiving the used SSL configuration from the HTTP thread - if (sslConfiguration.data()) + if (sslConfiguration) *sslConfiguration = newSslConfiguration; else sslConfiguration.reset(new QSslConfiguration(newSslConfiguration)); |
