Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.6.2
-
None
-
30ada569454de1ec1d10bf7261d413ddd9b962a5
Description
Apply the attached diagnostic patch to Qt.
1) Launch the examples/itemviews/dirview example and watch paths being added to QFileSystemWatcher as you navigate them. They are never removed
even if the directories are closed
2) Create an application that provides a flat view using QFileSystemModel::setRootPath() and QItemView::setRootIndex . Note that the watchers are also leaked if you call
QFileSystemModel::setRootPath().
Not sure if 1) is fixable, but 2) is evil.