FolderWatcher: Remove IN_DONT_FOLLOW #3475

This fixes the case of the root folder being symlinked.
Esse commit está contido em:
Christian Kamm
2015-12-10 13:05:43 +01:00
commit df1b309b36
+1 -2
Ver Arquivo
@@ -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);
}