summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2017-01-27 14:41:21 +0100
committerNico Vertriest <nico.vertriest@qt.io>2017-02-02 09:55:03 +0000
commit538ef73664afda2f904b5cc0c16452cc3943cf7e (patch)
treed073558991aa9fe4a9fefd0246e84309b40b1039 /src/corelib/thread
parent1b599660219d8b54df5d075bf7aa69bfd3bf282b (diff)
Doc: corrected minor link issues
qcore_foundation.mm: - Can't link to 'fromCGPoint()' - Undocumented parameter 'point' in QPointF::fromCGPoint() - Can't link to 'fromCGRect()' - Undocumented parameter 'rect' in QRectF::fromCGRect() - Can't link to 'fromCGSize()' - Undocumented parameter 'size' in QSizeF::fromCGSize() Change-Id: Ie48f04c7b990634f8c5a836100b1be7854848bb4 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qmutex.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/thread/qmutex.cpp b/src/corelib/thread/qmutex.cpp
index 653c3efe1c..b9b16e066f 100644
--- a/src/corelib/thread/qmutex.cpp
+++ b/src/corelib/thread/qmutex.cpp
@@ -268,6 +268,9 @@ bool QMutex::tryLock(int timeout) QT_MUTEX_LOCK_NOEXCEPT
This function is provided for compatibility with the Standard Library
concept \c Lockable. It is equivalent to tryLock().
+
+ The function returns \c true if the lock was obtained; otherwise it
+ returns \c false
*/
/*! \fn bool QMutex::try_lock_for(std::chrono::duration<Rep, Period> duration)