From df1b309b361b36eae4c061473de3e1fcbb06cc2d Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Thu, 10 Dec 2015 13:05:43 +0100 Subject: [PATCH] FolderWatcher: Remove IN_DONT_FOLLOW #3475 This fixes the case of the root folder being symlinked. --- src/gui/folderwatcher_linux.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/folderwatcher_linux.cpp b/src/gui/folderwatcher_linux.cpp index e8f280b346..59e59aa475 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); }