Automated update from Qt3

pull/1/head
Timothy Pearson 12 years ago
parent dab41fe3e6
commit 245c821c19

@ -3732,7 +3732,7 @@ void TQApplication::removePostedEvent( TQEvent * event )
void tqThreadTerminationHandlerRecursive( TQObject* object, TQThread* originThread, TQThread* destinationThread ) { void tqThreadTerminationHandlerRecursive( TQObject* object, TQThread* originThread, TQThread* destinationThread ) {
#ifdef QT_THREAD_SUPPORT #ifdef QT_THREAD_SUPPORT
TQThread* objectThread = object->contextThreadObject(); TQThread* objectThread = object->contextThreadObject();
if (objectThread != destinationThread) { if (objectThread && (objectThread != destinationThread)) {
TQThread::CleanupType cleanupType = objectThread->cleanupType(); TQThread::CleanupType cleanupType = objectThread->cleanupType();
if (cleanupType == TQThread::CleanupMergeObjects) { if (cleanupType == TQThread::CleanupMergeObjects) {
object->moveToThread(destinationThread); object->moveToThread(destinationThread);

Loading…
Cancel
Save