qt5base-lts/tests/auto/corelib/io/qfilesystemwatcher
Robin Burchell 0f9e98a586 Fix directories never being unwatched after deletion on Windows.
This causes all sorts of problems, but is also blocking the introduction of new,
more detailed signals, because the backend never correctly identified the removal.

The object handle appears to be woken up before the directory is actually
deleted, thus causing QFileInfo::exists() to return true, and not doing the
removal dance. This behaviour isn't exactly documented (as far as I was able to
find out), but also seems to happen consistently, and Chromium also contains
a comment noting a similar issue.

Task-number: QTBUG-2331
Change-Id: Icfb6219b78e688852d7863a666a0ffc31bb4d573
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-03-21 12:32:16 +01:00
..
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
qfilesystemwatcher.pro Fix tst_QFileSystemWatcher failure on Mac OS X 2012-02-17 05:25:26 +01:00
tst_qfilesystemwatcher.cpp Fix directories never being unwatched after deletion on Windows. 2012-03-21 12:32:16 +01:00