FolderWatcher: Remove IN_DONT_FOLLOW #3475

This fixes the case of the root folder being symlinked.
This commit is contained in:
Christian Kamm 2015-12-10 13:05:43 +01:00
parent e3b53b7e74
commit df1b309b36

View File

@ -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);
}