|
|
|
@ -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 != destinationThread) {
|
|
|
|
|
if (objectThread && (objectThread != destinationThread)) {
|
|
|
|
|
TQThread::CleanupType cleanupType = objectThread->cleanupType();
|
|
|
|
|
if (cleanupType == TQThread::CleanupMergeObjects) {
|
|
|
|
|
object->moveToThread(destinationThread);
|
|
|
|
|