diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2010-10-04 12:22:25 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2010-10-07 13:36:02 (GMT) |
commit | b7bc57cca9e34d3622afc1c1a9ff322024f350df (patch) | |
tree | e444cd70309976c853f1f2df8231e76b88d7dbb6 /src/plugins/codecs | |
parent | 71f04c22f128a52353f0a53d6d118375c0e99e33 (diff) | |
download | Qt-b7bc57cca9e34d3622afc1c1a9ff322024f350df.zip Qt-b7bc57cca9e34d3622afc1c1a9ff322024f350df.tar.gz Qt-b7bc57cca9e34d3622afc1c1a9ff322024f350df.tar.bz2 |
Implement error reporting for file APIs
Part of the refactoring broke error reporting (false would be return on
failure, but the QFile::error() would not return the right thing)
A string is passed to the QFileSystemEngine functions which need to return
an error, and filled in via the error code when a function fails.
For windows, this is GetLastError() as for the previous workaround
For unix, this is errno, as for the previous workaround
For symbian, this is the integer error code returned by the function
Reviewed-By: Thomas Zander
Reviewed-By: Prasanth Ullattil
Diffstat (limited to 'src/plugins/codecs')
0 files changed, 0 insertions, 0 deletions