diff --git a/src/network/kernel/qurlinfo.cpp b/src/network/kernel/qurlinfo.cpp index 68c521c682..c125b8ba87 100644 --- a/src/network/kernel/qurlinfo.cpp +++ b/src/network/kernel/qurlinfo.cpp @@ -41,7 +41,7 @@ #include "qurlinfo_p.h" -#ifndef QT_NO_URLINFO +#ifndef QT_NO_FTP #include "qurl.h" #include "qdir.h" @@ -729,4 +729,4 @@ bool QUrlInfo::isValid() const QT_END_NAMESPACE -#endif // QT_NO_URLINFO +#endif // QT_NO_FTP diff --git a/src/network/kernel/qurlinfo_p.h b/src/network/kernel/qurlinfo_p.h index 7fbf860c31..4c3bc588d1 100644 --- a/src/network/kernel/qurlinfo_p.h +++ b/src/network/kernel/qurlinfo_p.h @@ -51,7 +51,7 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE -#ifndef QT_NO_URLINFO +#ifndef QT_NO_FTP class QUrl; class QUrlInfoPrivate; @@ -121,7 +121,7 @@ private: QUrlInfoPrivate *d; }; -#endif // QT_NO_URLINFO +#endif // QT_NO_FTP QT_END_NAMESPACE