Details
-
Task
-
Resolution: Duplicate
-
P2: Important
-
None
-
None
-
None
-
All
Description
QDir::entryInfoList doc:
Returns an empty list if the directory is unreadable, does not exist, or if nothing matches the specification.
I need the error code/string (media failed, rights, FS corrupted, ...). The empty list doesn't explain the reason for failure.
Please, add way to know if all have work, AND error code and errorString(). Thanks.
It's very important in some case (right ok, but other error block the folder access).
Attachments
Issue Links
- duplicates
-
QTBUG-1483 Provide a way for QDir to return the error string
-
- Open
-