Support symbolic links in the file manager.
We didn't watch the symbolic link itself before, only the final link target. We are watching the symbolic link and the final link target now. Ugly hack: We need to work around QTBUG-15522. The inotify and kqueue based file system watcher engines (Linux + Mac) don't report changes to symbolic links. The workaround is to use the polling engine *only for the links themselves*. The only way to force the use of the polling engine is by using the auto test hook in QFileSystemWatcher.
Showing
- src/plugins/coreplugin/editormanager/editormanager.cpp 2 additions, 2 deletionssrc/plugins/coreplugin/editormanager/editormanager.cpp
- src/plugins/coreplugin/filemanager.cpp 298 additions, 232 deletionssrc/plugins/coreplugin/filemanager.cpp
- src/plugins/coreplugin/filemanager.h 7 additions, 4 deletionssrc/plugins/coreplugin/filemanager.h
- src/plugins/projectexplorer/projectexplorer.cpp 1 addition, 1 deletionsrc/plugins/projectexplorer/projectexplorer.cpp
Loading
Please register or sign in to comment