diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2010-03-29 23:58:07 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2010-03-30 00:02:49 (GMT) |
commit | 30ada569454de1ec1d10bf7261d413ddd9b962a5 (patch) | |
tree | 33d06535ff250c30adc9bb91e1111e7915b937bc /tests/auto | |
parent | 780f0cf58d93babd4bbfb5d3d00156a96fc7dacb (diff) | |
download | Qt-30ada569454de1ec1d10bf7261d413ddd9b962a5.zip Qt-30ada569454de1ec1d10bf7261d413ddd9b962a5.tar.gz Qt-30ada569454de1ec1d10bf7261d413ddd9b962a5.tar.bz2 |
Fix QFileSystemModel to not install useless watchers on the filesystem
When someone call setRootPath we need to remove the previous watcher.
This save memory and also it avoids Qt Creator to run out of filesystem
watcher which then leads to a crash. If you call setRootPath on the
previous path all changes that might happen in between will be propagated
in the model.
Task-number:QTBUG-8632
Reviewed-by:Friedemann Kleint
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions