aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4include_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4include_p.h')
-rw-r--r--src/qml/jsruntime/qv4include_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4include_p.h b/src/qml/jsruntime/qv4include_p.h
index 1750e6a7e1..4c601a5e7b 100644
--- a/src/qml/jsruntime/qv4include_p.h
+++ b/src/qml/jsruntime/qv4include_p.h
@@ -62,7 +62,7 @@
QT_BEGIN_NAMESPACE
class QQmlEngine;
-#ifndef QT_NO_NETWORK
+#if QT_CONFIG(qml_network)
class QNetworkAccessManager;
#endif
class QNetworkReply;
@@ -94,7 +94,7 @@ private:
QV4::ExecutionEngine *v4;
QUrl m_url;
-#ifndef QT_NO_NETWORK
+#if QT_CONFIG(qml_network)
int m_redirectCount;
QNetworkAccessManager *m_network;
QPointer<QNetworkReply> m_reply;