summaryrefslogtreecommitdiffstats
path: root/kooka
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-09-17 19:41:28 +0200
committerSlávek Banko <[email protected]>2018-09-17 19:41:28 +0200
commit8d8e1cba1bcdc0a2e780a8a9304d5788941adf20 (patch)
tree395229db0eeb0db1c1adb21d9e18b16dcbab39a3 /kooka
parentf219d0a43e8573499b98052af5869c0984c1be2f (diff)
downloadtdegraphics-8d8e1cba1bcdc0a2e780a8a9304d5788941adf20.tar.gz
tdegraphics-8d8e1cba1bcdc0a2e780a8a9304d5788941adf20.zip
Fix inadvertly renamed QT_THREAD_SUPPORT
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kooka')
-rw-r--r--kooka/ksaneocr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kooka/ksaneocr.cpp b/kooka/ksaneocr.cpp
index 89660b53..cd2ce38e 100644
--- a/kooka/ksaneocr.cpp
+++ b/kooka/ksaneocr.cpp
@@ -631,7 +631,7 @@ void KSANEOCR::startOCRProcess( void )
// rep.Recognize();
m_rep.run();
- /* Dealing with threads or no threads (using TQT_THREAD_SUPPORT to distinguish)
+ /* Dealing with threads or no threads (using QT_THREAD_SUPPORT to distinguish)
* If threads are here, the recognition task is started in its own thread. The gui thread
* needs to wait until the recognition thread is finished. Therefore, a timer is fired once
* that calls slotKadmosResult and checks if the recognition task is finished. If it is not,
@@ -647,7 +647,7 @@ void KSANEOCR::startOCRProcess( void )
* It does not :( That is why it is not used here. Maybe some day...
*/
}
-#ifdef TQT_THREAD_SUPPORT
+#ifdef QT_THREAD_SUPPORT
/* start a timer and wait until it fires. */
TQTimer::singleShot( 500, this, TQT_SLOT( slotKadmosResult() ));
#else
@@ -660,7 +660,7 @@ void KSANEOCR::startOCRProcess( void )
/*
* This method is called to check if the kadmos process was already finished, if
- * thread support is enabled (check for preprocessor variable TQT_THREAD_SUPPORT)
+ * thread support is enabled (check for preprocessor variable QT_THREAD_SUPPORT)
* The problem is that the kadmos library seems not to be thread stable so thread
* support should not be enabled by default. In case threads are enabled, this slot
* checks if the KADMOS engine is finished already and if not it fires a timer.