summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-09-30 20:40:42 +0200
committerLiang Qi <liang.qi@qt.io>2018-10-01 08:26:21 +0000
commit777cd6e9b10c83f5826fde67ad00a85c978218c0 (patch)
tree9d3f130767c0af15481b1f73d1568350965ed467
parent039a28468a1812b8f0662aba62c173e572899841 (diff)
Add QT_CONFIG(filesystemwatcher) guard for include
This is needed by 555a6b5d in qtbase. Change-Id: I4c8379c2db704f7d7f2f9a933b062285dd9d8e26 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r--src/imports/folderlistmodel/fileinfothread_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/folderlistmodel/fileinfothread_p.h b/src/imports/folderlistmodel/fileinfothread_p.h
index 67d2a1f5f7..438dea6faa 100644
--- a/src/imports/folderlistmodel/fileinfothread_p.h
+++ b/src/imports/folderlistmodel/fileinfothread_p.h
@@ -54,7 +54,9 @@
#include <QThread>
#include <QMutex>
#include <QWaitCondition>
+#if QT_CONFIG(filesystemwatcher)
#include <QFileSystemWatcher>
+#endif
#include <QFileInfo>
#include <QDir>