diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-03-22 11:55:15 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-03-22 14:43:26 (GMT) |
commit | 3f4dca824126a2d5e7d31e122a16118b79ef78d8 (patch) | |
tree | 33ac85d424d7e24a675a68e7de9ae95c383c734d | |
parent | 747d43b89c9230d12a81e77e390f4f422f5255db (diff) | |
download | Qt-3f4dca824126a2d5e7d31e122a16118b79ef78d8.zip Qt-3f4dca824126a2d5e7d31e122a16118b79ef78d8.tar.gz Qt-3f4dca824126a2d5e7d31e122a16118b79ef78d8.tar.bz2 |
Fixes to QSystemError
1. KErrNotReady message changed to have one file and one network example
2. Format error for the generic error code was generating a QWARN
Reviewed-by: Markus Goetz
-rw-r--r-- | src/corelib/kernel/qsystemerror.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qsystemerror.cpp b/src/corelib/kernel/qsystemerror.cpp index 953ed95..5cf8fc6 100644 --- a/src/corelib/kernel/qsystemerror.cpp +++ b/src/corelib/kernel/qsystemerror.cpp @@ -154,7 +154,7 @@ static QString symbianErrorString(int errorCode) case KErrInUse: return QLatin1String("in use"); case KErrNotReady: - return QLatin1String("not ready (e.g. FS dismounted, no memory card)"); + return QLatin1String("not ready (e.g. FS dismounted, network down)"); case KErrCorrupt: return QLatin1String("corrupt"); case KErrAccessDenied: @@ -190,7 +190,7 @@ static QString symbianErrorString(int errorCode) case KErrPermissionDenied: return QLatin1String("permission denied"); default: - return QString(QLatin1String("symbian error %d")).arg(errorCode); + return QString(QLatin1String("symbian error %1")).arg(errorCode); } } #endif |