diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/kernel/qapplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp index 10e25adb6..83d8b6c58 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 != destinationThread) { + if (objectThread && (objectThread != destinationThread)) { TQThread::CleanupType cleanupType = objectThread->cleanupType(); if (cleanupType == TQThread::CleanupMergeObjects) { object->moveToThread(destinationThread); |