diff options
author | Robin Burchell <robin.burchell@collabora.com> | 2012-01-05 18:49:12 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-06 11:19:23 +0100 |
commit | b44c6bef5041359ac2387379c80f55549d562d8c (patch) | |
tree | e7ac6ad098dbda53d465e0d7f1683ff9f3933ea1 | |
parent | 5bdd20a085f286d23ef07d0c48c4aa3bc83d57b7 (diff) |
Remove duplicate fnctl() call.
QInotifyFileSystemWatcherEngine's constructor calls this, there's no need to do
it twice.
Change-Id: Ic19e758a3f87f2e3a885e5b834f59a5a0fe13f4b
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
-rw-r--r-- | src/corelib/io/qfilesystemwatcher_inotify.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/io/qfilesystemwatcher_inotify.cpp b/src/corelib/io/qfilesystemwatcher_inotify.cpp index ffe3a2e067..79d7d7cae0 100644 --- a/src/corelib/io/qfilesystemwatcher_inotify.cpp +++ b/src/corelib/io/qfilesystemwatcher_inotify.cpp @@ -220,7 +220,6 @@ QInotifyFileSystemWatcherEngine *QInotifyFileSystemWatcherEngine::create() fd = inotify_init(); if (fd == -1) return 0; - ::fcntl(fd, F_SETFD, FD_CLOEXEC); } return new QInotifyFileSystemWatcherEngine(fd); } |