From 33e14b0aa37fd7bc47547ec187d4adde826f0da1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 10 Jun 2013 13:21:44 -0500 Subject: Automated update from Qt3 --- src/kernel/qapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel') 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); -- cgit v1.2.1