summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorMartin Petersson <Martin.Petersson@nokia.com>2012-02-27 14:11:09 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-02-27 20:41:44 (GMT)
commitabf19060e20b00b56812a726b1e8fa9d4c6cfd48 (patch)
tree89d504924458145ef484dd39a2d1e34eeb61ae98 /src/network/access
parent83a88fb33c52cbebf493e204e053b6316044e7cc (diff)
downloadQt-abf19060e20b00b56812a726b1e8fa9d4c6cfd48.zip
Qt-abf19060e20b00b56812a726b1e8fa9d4c6cfd48.tar.gz
Qt-abf19060e20b00b56812a726b1e8fa9d4c6cfd48.tar.bz2
QNetwork: fix compilation with "-no-feature-bearermanagement"
Task-number: QTBUG-23239 Change-Id: I12f89a4e595231738985ca0cf3179fee7de9fa72 Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qnetworkaccesshttpbackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkaccesshttpbackend.cpp b/src/network/access/qnetworkaccesshttpbackend.cpp
index 68451f9..14963d0 100644
--- a/src/network/access/qnetworkaccesshttpbackend.cpp
+++ b/src/network/access/qnetworkaccesshttpbackend.cpp
@@ -521,7 +521,7 @@ void QNetworkAccessHttpBackend::postRequest()
// Create the HTTP thread delegate
QHttpThreadDelegate *delegate = new QHttpThreadDelegate;
-#ifndef Q_NO_BEARERMANAGEMENT
+#ifndef QT_NO_BEARERMANAGEMENT
QVariant v(property("_q_networksession"));
if (v.isValid())
delegate->networkSession = qvariant_cast<QSharedPointer<QNetworkSession> >(v);