summaryrefslogtreecommitdiffstats
path: root/src/network/access/qftp_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/access/qftp_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/access/qftp_p.h')
-rw-r--r--src/network/access/qftp_p.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/network/access/qftp_p.h b/src/network/access/qftp_p.h
index 6cf5116798..bba1f9b09d 100644
--- a/src/network/access/qftp_p.h
+++ b/src/network/access/qftp_p.h
@@ -56,10 +56,9 @@
#include <private/qurlinfo_p.h>
#include <QtCore/qobject.h>
-QT_BEGIN_NAMESPACE
-
+QT_REQUIRE_CONFIG(ftp);
-#ifndef QT_NO_FTP
+QT_BEGIN_NAMESPACE
class QFtpPrivate;
@@ -169,8 +168,6 @@ private:
Q_PRIVATE_SLOT(d_func(), void _q_piFtpReply(int, const QString&))
};
-#endif // QT_NO_FTP
-
QT_END_NAMESPACE
#endif // QFTP_P_H