diff options
author | Michele Calgaro <[email protected]> | 2018-09-16 22:30:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-09-16 22:30:57 +0900 |
commit | 02964eb384e1b5a73a198d04262497607d81e38f (patch) | |
tree | 56b694b9d973c7906f9960a2029068dc44791c2b /src/tools/qgvector.cpp | |
parent | 1fb89fa15488ff396623fc275242b8ed149f4c1e (diff) | |
download | tqt3-02964eb384e1b5a73a198d04262497607d81e38f.tar.gz tqt3-02964eb384e1b5a73a198d04262497607d81e38f.zip |
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of the
qt->tqt conversion and is required to align to corresponding patch for
common/admin module.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tools/qgvector.cpp')
-rw-r--r-- | src/tools/qgvector.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/qgvector.cpp b/src/tools/qgvector.cpp index af896ab72..2c8b13d68 100644 --- a/src/tools/qgvector.cpp +++ b/src/tools/qgvector.cpp @@ -51,9 +51,9 @@ #include "ntqdatastream.h" #include <stdlib.h> -#ifdef QT_THREAD_SUPPORT +#ifdef TQT_THREAD_SUPPORT # include <private/qmutexpool_p.h> -#endif // QT_THREAD_SUPPORT +#endif // TQT_THREAD_SUPPORT #define USE_MALLOC // comment to use new/delete @@ -405,10 +405,10 @@ void TQGVector::sort() // sort vector } } -#ifdef QT_THREAD_SUPPORT +#ifdef TQT_THREAD_SUPPORT TQMutexLocker locker( tqt_global_mutexpool ? tqt_global_mutexpool->get( &sort_vec ) : 0 ); -#endif // QT_THREAD_SUPPORT +#endif // TQT_THREAD_SUPPORT sort_vec = (TQGVector*)this; qsort( vec, count(), sizeof(Item), cmp_vec ); |