diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2024-03-12 01:19:14 +0300 |
---|---|---|
committer | Alexander Golubev <fatzer2@gmail.com> | 2024-03-14 00:11:47 +0300 |
commit | f7642b09c9e61f71e434aeb0ceb330d2ccaa25db (patch) | |
tree | 24caf3ca34bc91f4c3ea20b8fc436fdd71c44925 /src/inputmethod/qinputcontextfactory.cpp | |
parent | fa4475f36d6404a70d760ca95ac6a986a8846a3f (diff) | |
download | tqt3-f7642b09c9e61f71e434aeb0ceb330d2ccaa25db.tar.gz tqt3-f7642b09c9e61f71e434aeb0ceb330d2ccaa25db.zip |
TQT_THREAD_SUPPORT->!TQT_NO_THREAD: migrate sources
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'src/inputmethod/qinputcontextfactory.cpp')
-rw-r--r-- | src/inputmethod/qinputcontextfactory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inputmethod/qinputcontextfactory.cpp b/src/inputmethod/qinputcontextfactory.cpp index a54d2d24c..bf74df827 100644 --- a/src/inputmethod/qinputcontextfactory.cpp +++ b/src/inputmethod/qinputcontextfactory.cpp @@ -43,9 +43,9 @@ #include "ntqapplication.h" -#ifdef TQT_THREAD_SUPPORT +#ifndef TQT_NO_THREAD #include <private/qmutexpool_p.h> -#endif // TQT_THREAD_SUPPORT +#endif // TQT_NO_THREAD #include <stdlib.h> @@ -62,7 +62,7 @@ static void create_manager() if( manager ) // already created return; -#ifdef TQT_THREAD_SUPPORT +#ifndef TQT_NO_THREAD // protect manager creation TQMutexLocker locker( tqt_global_mutexpool ? tqt_global_mutexpool->get( &manager ) : 0); |