diff options
author | Christian Kamm <mail@ckamm.de> | 2015-12-10 15:05:43 +0300 |
---|---|---|
committer | Christian Kamm <mail@ckamm.de> | 2015-12-10 15:05:43 +0300 |
commit | df1b309b361b36eae4c061473de3e1fcbb06cc2d (patch) | |
tree | 7a34a6090f10c68790a5881340f024aac18cd835 /src | |
parent | e3b53b7e74574585682c9b4bf5f84d6d3cf129e8 (diff) |
FolderWatcher: Remove IN_DONT_FOLLOW #3475
This fixes the case of the root folder being symlinked.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/folderwatcher_linux.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/folderwatcher_linux.cpp b/src/gui/folderwatcher_linux.cpp index e8f280b34..59e59aa47 100644 --- a/src/gui/folderwatcher_linux.cpp +++ b/src/gui/folderwatcher_linux.cpp @@ -79,8 +79,7 @@ void FolderWatcherPrivate::inotifyRegisterPath(const QString& path) int wd = inotify_add_watch(_fd, path.toUtf8().constData(), IN_CLOSE_WRITE | IN_ATTRIB | IN_MOVE | IN_CREATE |IN_DELETE | IN_DELETE_SELF | - IN_MOVE_SELF |IN_UNMOUNT |IN_ONLYDIR | - IN_DONT_FOLLOW ); + IN_MOVE_SELF |IN_UNMOUNT |IN_ONLYDIR); if( wd > -1 ) { _watches.insert(wd, path); } |