summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-10 13:21:44 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-10 13:21:44 -0500
commit33e14b0aa37fd7bc47547ec187d4adde826f0da1 (patch)
tree7fc1e649d0dacfbaad54533bd97e569cfbbe138e /src/kernel
parent245c821c1974c8a9bce0f2977ab5f462c87a9cba (diff)
downloadtqt3-33e14b0aa37fd7bc47547ec187d4adde826f0da1.tar.gz
tqt3-33e14b0aa37fd7bc47547ec187d4adde826f0da1.zip
Automated update from Qt3
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/qapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp
index 83d8b6c58..73b2e44d6 100644
--- a/src/kernel/qapplication.cpp
+++ b/src/kernel/qapplication.cpp
@@ -3732,7 +3732,7 @@ void TQApplication::removePostedEvent( TQEvent * event )
void tqThreadTerminationHandlerRecursive( TQObject* object, TQThread* originThread, TQThread* destinationThread ) {
#ifdef QT_THREAD_SUPPORT
TQThread* objectThread = object->contextThreadObject();
- if (objectThread && (objectThread != destinationThread)) {
+ if (objectThread && (objectThread == originThread)) {
TQThread::CleanupType cleanupType = objectThread->cleanupType();
if (cleanupType == TQThread::CleanupMergeObjects) {
object->moveToThread(destinationThread);