summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2011-01-21 15:28:44 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-01-21 15:30:21 (GMT)
commitf129fd72752aa0ac088837b9f70b22621e9d3b83 (patch)
tree165825dbf542289f9def760f8bb24783baa15a28 /src/corelib/kernel
parenta1ba5568da6c57e8a0e4440913a6bda322620422 (diff)
downloadQt-f129fd72752aa0ac088837b9f70b22621e9d3b83.zip
Qt-f129fd72752aa0ac088837b9f70b22621e9d3b83.tar.gz
Qt-f129fd72752aa0ac088837b9f70b22621e9d3b83.tar.bz2
fix error reporting
that was mistakenly broken by 570e7b38487455d394b5b74a59edc639f3dc416f Merge-request: 1018 Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qsystemsemaphore_symbian.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qsystemsemaphore_symbian.cpp b/src/corelib/kernel/qsystemsemaphore_symbian.cpp
index 07cfffc..a46389d 100644
--- a/src/corelib/kernel/qsystemsemaphore_symbian.cpp
+++ b/src/corelib/kernel/qsystemsemaphore_symbian.cpp
@@ -73,6 +73,7 @@ void QSystemSemaphorePrivate::setErrorString(const QString &function, int err)
case KErrInUse:
errorString = QCoreApplication::tr("%1: out of resources", "QSystemSemaphore").arg(function);
error = QSystemSemaphore::OutOfResources;
+ break;
case KErrPermissionDenied:
errorString = QCoreApplication::tr("%1: permission denied", "QSystemSemaphore").arg(function);
error = QSystemSemaphore::PermissionDenied;