Remove unused inotify includes in the filesystem watcher test
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>
Wed, 15 Aug 2012 13:54:04 +0000 (15:54 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 23 Aug 2012 09:20:37 +0000 (11:20 +0200)
Change-Id: I346ef6ccf7b09390bef6d35c82ecee6dee1711fc
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp

index 78f229a..0505eea 100644 (file)
 #include <QTemporaryDir>
 #include <QFileSystemWatcher>
 
-#ifdef Q_OS_LINUX
-# ifdef QT_NO_INOTIFY
-#  include <linux/version.h>
-# else
-#  include <sys/inotify.h>
-# endif
-#endif
-
 /* All tests need to run in temporary directories not used
  * by the application to avoid non-deterministic failures on Windows
  * due to locked directories and left-overs from previous tests. */