aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlfile.h')
-rw-r--r--src/qml/qml/qqmlfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlfile.h b/src/qml/qml/qqmlfile.h
index 3dd683a2cd..aec0981a95 100644
--- a/src/qml/qml/qqmlfile.h
+++ b/src/qml/qml/qqmlfile.h
@@ -80,7 +80,7 @@ public:
void clear();
void clear(QObject *);
-#ifndef QT_NO_NETWORK
+#if QT_CONFIG(qml_network)
bool connectFinished(QObject *, const char *);
bool connectFinished(QObject *, int);
bool connectDownloadProgress(QObject *, const char *);