diff options
author | Liang Qi <liang.qi@qt.io> | 2018-09-26 08:56:36 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-09-27 08:18:55 +0000 |
commit | 555a6b5d5d2dd91a0dcf9e3d5fbadd1b31bf80f3 (patch) | |
tree | e0faaad63a8dc4055807a72ecce89cf7dc0d1cb2 /src/widgets/dialogs/qfileinfogatherer_p.h | |
parent | 5e64957ee4162ecf4456306a530a68761c2b127f (diff) |
Modernize the "filesystemwatcher" feature
Change-Id: If030b56ad97e047d89d442629262b4839df306d4
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qfileinfogatherer_p.h')
-rw-r--r-- | src/widgets/dialogs/qfileinfogatherer_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/dialogs/qfileinfogatherer_p.h b/src/widgets/dialogs/qfileinfogatherer_p.h index cc82f42850..134a14b7ce 100644 --- a/src/widgets/dialogs/qfileinfogatherer_p.h +++ b/src/widgets/dialogs/qfileinfogatherer_p.h @@ -56,7 +56,9 @@ #include <qthread.h> #include <qmutex.h> #include <qwaitcondition.h> +#if QT_CONFIG(filesystemwatcher) #include <qfilesystemwatcher.h> +#endif #include <qfileiconprovider.h> #include <qpair.h> #include <qstack.h> @@ -207,7 +209,7 @@ private: // end protected by mutex QAtomicInt abort; -#ifndef QT_NO_FILESYSTEMWATCHER +#if QT_CONFIG(filesystemwatcher) QFileSystemWatcher *watcher; #endif #ifdef Q_OS_WIN |