diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-06-23 10:12:15 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-08-18 15:01:28 +0000 |
commit | a19585eee174dd593aa979e5232e9cca677bef44 (patch) | |
tree | 46ceb03d2ddaccf7d04c53af70dd9cbfaa862823 /src/corelib/io/qfilesystemwatcher_polling_p.h | |
parent | 22858ffcedda16cd9f773df9ec74a5bff72a081a (diff) |
QPollingFileSystemWatcherEngine: change PollingInterval to chrono::seconds
More expressive and type-safe.
Move it to the .cpp file (the only user) and make it static to avoid
creating a non-namespaced symbol.
Pick-to: 6.6
Change-Id: Ib9b393e660e51c1791ed3a9a4a12e5c75736bf2a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/io/qfilesystemwatcher_polling_p.h')
-rw-r--r-- | src/corelib/io/qfilesystemwatcher_polling_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/io/qfilesystemwatcher_polling_p.h b/src/corelib/io/qfilesystemwatcher_polling_p.h index b1100b061a..b65ff05575 100644 --- a/src/corelib/io/qfilesystemwatcher_polling_p.h +++ b/src/corelib/io/qfilesystemwatcher_polling_p.h @@ -27,8 +27,6 @@ QT_REQUIRE_CONFIG(filesystemwatcher); QT_BEGIN_NAMESPACE -enum { PollingInterval = 1000 }; - class QPollingFileSystemWatcherEngine : public QFileSystemWatcherEngine { Q_OBJECT |