diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-06-27 15:47:16 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-06 11:22:37 +0200 |
commit | cd113d0dcb5e6ff71300ed67af5e296dc6f5dccf (patch) | |
tree | 347e746f096079896fa3869838e6c111ff999b2e /tests/auto/corelib/thread/qthreadonce | |
parent | 95310aac6d38f222da5ce0ca2bd52b4afa261f13 (diff) |
Port some trivial cases from QMutex to QRecursiveMutex
In all of these cases, the effect of the change is local to one file.
Change-Id: I3bda3aadee3b42e7797183c2330183390b92d1f2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/thread/qthreadonce')
-rw-r--r-- | tests/auto/corelib/thread/qthreadonce/qthreadonce.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/thread/qthreadonce/qthreadonce.cpp b/tests/auto/corelib/thread/qthreadonce/qthreadonce.cpp index d27884197a..3826fa148e 100644 --- a/tests/auto/corelib/thread/qthreadonce/qthreadonce.cpp +++ b/tests/auto/corelib/thread/qthreadonce/qthreadonce.cpp @@ -32,7 +32,7 @@ #include "qmutex.h" -Q_GLOBAL_STATIC_WITH_ARGS(QMutex, onceInitializationMutex, (QMutex::Recursive)) +Q_GLOBAL_STATIC(QRecursiveMutex, onceInitializationMutex) enum QOnceExtra { MustRunCode = 0x01, |