summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qmutex.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-06-26 12:46:57 +0200
committerOlivier Goffart <ogoffart@woboq.com>2014-06-26 14:21:21 +0200
commit321d6dda759841a16a4e21d7e3bbbfc89504bee4 (patch)
tree7370085a70f73d80480e3dae01c37baa13b9b65c /src/corelib/thread/qmutex.cpp
parentdee557c8aa69c51a80ed19f71476def61a868213 (diff)
Fix QMutex documentation saying some function are static while they are not
qdoc only see a fake QMutex class (the same as the one built in bootstrap) But that fake QMutex had static member while the normal QMutex class has non static member. QMutexLocker::mutex is also a const function in the real QMutexLocker Task-number: QTBUG-38522 Change-Id: I220434ffc6a9e990029f770e2536ecb55b4e2182 Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'src/corelib/thread/qmutex.cpp')
-rw-r--r--src/corelib/thread/qmutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qmutex.cpp b/src/corelib/thread/qmutex.cpp
index fe5beb1c01..5e3f3a1cab 100644
--- a/src/corelib/thread/qmutex.cpp
+++ b/src/corelib/thread/qmutex.cpp
@@ -380,7 +380,7 @@ bool QBasicMutex::isRecursive()
*/
/*!
- \fn QMutex *QMutexLocker::mutex()
+ \fn QMutex *QMutexLocker::mutex() const
Returns the mutex on which the QMutexLocker is operating.