diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-07-28 11:20:24 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-07-29 20:03:50 +0200 |
commit | d14cf6d3d980e9289d95b197ca46a55e9e263b22 (patch) | |
tree | c2b3c5d5e5182e6f49dc9c698f35753617ed76a9 /src/opengl | |
parent | 8969070cfdeab4502a693bdf46a572cbea50bab3 (diff) |
QFileInfo: Fail faster when stat'ing filepath on a disconnected drive
The Windows implementation of QFileSystemEngine tries hard to fill the
metadata for a file, even if GetFileAttributesEx returns with error.
This is good in many situations, but when the error code indicates that
the drive on which the file resides has been disconnected, then we
should fail quickly.
Task-number: QTBUG-6039
Pick-to: 5.15
Change-Id: I7574c5a2e524e913306d0b470b4f227416442c13
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions