Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12.6
-
-
e0b9beb63dead017b6849ebcaa91c04a57f955c6 (qt/qtbase/5.14)
Description
Each time deleting a file or a folder using QFileSystemModel::remove on Windows the following warning is printed out: "QFileSystemWatcher::removePaths: list is empty".
Remove seems to work otherwise as expected despite the warning and the function returns true with the actual file or folder also vanishing from the system.
Steps to reproduce:
- Run the attached project
- Click the first button to create a test directory in application dir using QFileSystemModel::mkdir
- Click the second button to remove the test directory from the application dir using QFileSystemModel::remove
- Observe the application output
Attachments
Issue Links
- relates to
-
QTBUG-49411 QFileSystemWatcher::removePath return false but remove file successfuly
- Reported