summaryrefslogtreecommitdiffstats
path: root/src/tools/qgvector.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-09-18 01:19:46 +0900
committerMichele Calgaro <[email protected]>2018-09-18 01:19:46 +0900
commit2df70f03d493f5226821dd2e1da3759e3abceb02 (patch)
treef105d7829be7401bd27b833e0e26cf64c6a62ad1 /src/tools/qgvector.cpp
parentf849f22528ee9eb5eeb1f9aa92822846b2b3e01f (diff)
downloadqt3-2df70f03d493f5226821dd2e1da3759e3abceb02.tar.gz
qt3-2df70f03d493f5226821dd2e1da3759e3abceb02.zip
Revert "QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module"
The original commit was a mistake and should not have been pushed. This reverts commit f849f22528ee9eb5eeb1f9aa92822846b2b3e01f.
Diffstat (limited to 'src/tools/qgvector.cpp')
-rw-r--r--src/tools/qgvector.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/qgvector.cpp b/src/tools/qgvector.cpp
index 44f5992..154d07d 100644
--- a/src/tools/qgvector.cpp
+++ b/src/tools/qgvector.cpp
@@ -51,9 +51,9 @@
#include "qdatastream.h"
#include <stdlib.h>
-#ifdef TQT_THREAD_SUPPORT
+#ifdef QT_THREAD_SUPPORT
# include <private/qmutexpool_p.h>
-#endif // TQT_THREAD_SUPPORT
+#endif // QT_THREAD_SUPPORT
#define USE_MALLOC // comment to use new/delete
@@ -405,10 +405,10 @@ void QGVector::sort() // sort vector
}
}
-#ifdef TQT_THREAD_SUPPORT
+#ifdef QT_THREAD_SUPPORT
QMutexLocker locker( qt_global_mutexpool ?
qt_global_mutexpool->get( &sort_vec ) : 0 );
-#endif // TQT_THREAD_SUPPORT
+#endif // QT_THREAD_SUPPORT
sort_vec = (QGVector*)this;
qsort( vec, count(), sizeof(Item), cmp_vec );