summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfilesystemwatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qfilesystemwatcher.h')
-rw-r--r--src/corelib/io/qfilesystemwatcher.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/io/qfilesystemwatcher.h b/src/corelib/io/qfilesystemwatcher.h
index 057a20672c..cd64115f8f 100644
--- a/src/corelib/io/qfilesystemwatcher.h
+++ b/src/corelib/io/qfilesystemwatcher.h
@@ -42,7 +42,7 @@
#include <QtCore/qobject.h>
-#ifndef QT_NO_FILESYSTEMWATCHER
+QT_REQUIRE_CONFIG(filesystemwatcher);
QT_BEGIN_NAMESPACE
@@ -78,5 +78,4 @@ private:
QT_END_NAMESPACE
-#endif // QT_NO_FILESYSTEMWATCHER
#endif // QFILESYSTEMWATCHER_H