Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.11.1
-
Windows 10
-
69e68218e5082166d5c4ab1903fbacde00418a1c (qrbase/5.12, 30.9.2018, 5.12b1)
Description
When a removable drive is removed via Windows Explorer then it can still show up in the QFileSystemModel. To reproduce this with the attached example.
- Insert a USB drive and then start the example
- Via Windows Explorer (not the safe remove option in the system tray), right click the USB drive and click eject
- Note that it is removed from Windows Explorer
- In the application it is still listed
QDir::drives() also lists the entry here in this case, so it should be checked that the drive does actually exist
Attachments
For Gerrit Dashboard: QTBUG-69029 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
240898,2 | Windows: Fix QDir::drives() to no longer list ejected media | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |