diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-01-11 09:00:41 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-12 00:45:13 +0100 |
commit | 93a466c6fc3c455dcc9bf1292cc6a2725287a94a (patch) | |
tree | 35197fea2705546d8b40180242459ba48956f4c2 /src/corelib/io/qfilesystemwatcher.cpp | |
parent | d6e0306a90597ff17931dba0a11a593c5f1a7221 (diff) |
Remove unnecessary QMutexes in QFileSystemWatcher implementations
The polling, inotify, and kqueue implementations are no longer threaded,
and as such, do not need mutexes to protect their internal data (since
QFileSystemWatcher itself is not documented as a thread-safe API).
The Windows implementation is unchanged as it uses multiple threads
explicitly.
Change-Id: Ia82510397e576bf704ce3aed3d776b58b39f7ff3
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Diffstat (limited to 'src/corelib/io/qfilesystemwatcher.cpp')
-rw-r--r-- | src/corelib/io/qfilesystemwatcher.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/io/qfilesystemwatcher.cpp b/src/corelib/io/qfilesystemwatcher.cpp index 85b27c9ec9..b6eb5eda5a 100644 --- a/src/corelib/io/qfilesystemwatcher.cpp +++ b/src/corelib/io/qfilesystemwatcher.cpp @@ -48,7 +48,6 @@ #include <qdebug.h> #include <qdir.h> #include <qfileinfo.h> -#include <qmutex.h> #include <qset.h> #include <qtimer.h> |