diff options
author | artoka <arto.katajasalo@digia.com> | 2011-12-13 13:06:03 (GMT) |
---|---|---|
committer | Qt Commercial Integration <QtCommercial@digia.com> | 2012-01-31 10:25:08 (GMT) |
commit | 45bdaac4636b69ddbae446ec65082a90290dda52 (patch) | |
tree | 42ebdbee0b784783ceaf53a9d1b38948b8add90c /doc/src/snippets/code/src_corelib_thread_qmutex.cpp | |
parent | 08e5e81d5ebece3eb3f489d438e2cea5d4adcb4f (diff) | |
download | Qt-45bdaac4636b69ddbae446ec65082a90290dda52.zip Qt-45bdaac4636b69ddbae446ec65082a90290dda52.tar.gz Qt-45bdaac4636b69ddbae446ec65082a90290dda52.tar.bz2 |
Various qt documentation fixes (wk 44)
Fixes for bugs: QTBUG-13362, QTBUG-15738, QTBUG-15921,
QTBUG-18356, QTBUG-18417, QTBUG-18664, QTBUG-21562, QTBUG-22094,
and QTBUG-18741.
Diffstat (limited to 'doc/src/snippets/code/src_corelib_thread_qmutex.cpp')
-rw-r--r-- | doc/src/snippets/code/src_corelib_thread_qmutex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/snippets/code/src_corelib_thread_qmutex.cpp b/doc/src/snippets/code/src_corelib_thread_qmutex.cpp index 7800a4d..d02268f 100644 --- a/doc/src/snippets/code/src_corelib_thread_qmutex.cpp +++ b/doc/src/snippets/code/src_corelib_thread_qmutex.cpp @@ -114,8 +114,8 @@ int complexFunction(int flag) switch (flag) { case 0: case 1: - mutex.unlock(); - return moreComplexFunction(flag); + retVal = moreComplexFunction(flag); + break; case 2: { int status = anotherFunction(); |