diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2010-11-16 15:28:17 +0100 |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2010-11-16 15:32:31 +0100 |
commit | eb474123412c52e74f402e082c85286047c9aeda (patch) | |
tree | f4d6e44186bede808423f9c112f1e5d959534ca6 /src/corelib/io/qfile.cpp | |
parent | b251f7f9d2d1fb336e0b4f92858aad2eab0ba88c (diff) |
QFile: Fix compilation
EACCES was not defined at this point, but it is also not needed, since
we know exactly why unmap is failing.
Reviewed-by: Shane Kearns
Diffstat (limited to 'src/corelib/io/qfile.cpp')
-rw-r--r-- | src/corelib/io/qfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index f0ca11bb8f..fac4ac63f4 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -1224,7 +1224,7 @@ bool QFile::unmap(uchar *address) d->setError(d->fileEngine->error(), d->fileEngine->errorString()); return success; } - d->setError(PermissionsError, QSystemError(EACCES, QSystemError::StandardLibraryError).toString()); + d->setError(PermissionsError, tr("No file engine available or engine does not support UnMapExtension")); return false; } |