summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qurlinfo_p.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-09-04 21:51:17 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-09-06 06:50:47 +0000
commit029e5cde33576a3de68576a0361b108e47883860 (patch)
treeab246a6d92118f1d525ecbc13ba78de8dbf0401f /src/network/kernel/qurlinfo_p.h
parent68b8f2d40858457f4c3433af1e700cef04e121bc (diff)
Convert features.ftp to QT_[REQUIRE_]CONFIG
QUrlInfo is used only by the FTP implementation, so it uses the same conditionals. Change-Id: Ia15abf44d2a538e90b792a31c65926cc9e16aecf Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/network/kernel/qurlinfo_p.h')
-rw-r--r--src/network/kernel/qurlinfo_p.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/network/kernel/qurlinfo_p.h b/src/network/kernel/qurlinfo_p.h
index 3a430a3321..8180796f49 100644
--- a/src/network/kernel/qurlinfo_p.h
+++ b/src/network/kernel/qurlinfo_p.h
@@ -56,10 +56,9 @@
#include <QtCore/qstring.h>
#include <QtCore/qiodevice.h>
-QT_BEGIN_NAMESPACE
-
+QT_REQUIRE_CONFIG(ftp);
-#ifndef QT_NO_FTP
+QT_BEGIN_NAMESPACE
class QUrl;
class QUrlInfoPrivate;
@@ -129,8 +128,6 @@ private:
QUrlInfoPrivate *d;
};
-#endif // QT_NO_FTP
-
QT_END_NAMESPACE
#endif // QURLINFO_H