diff options
Diffstat (limited to 'src/corelib/thread/qmutex.h')
-rw-r--r-- | src/corelib/thread/qmutex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h index dd1455058d..90bd93adef 100644 --- a/src/corelib/thread/qmutex.h +++ b/src/corelib/thread/qmutex.h @@ -75,8 +75,8 @@ public: unlockInternal(); } - bool tryLock(int timeout = 0) QT_MUTEX_LOCK_NOEXCEPT { - return fastTryLock() || lockInternal(timeout); + bool tryLock() Q_DECL_NOTHROW { + return fastTryLock(); } bool isRecursive(); |