diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-12-06 18:30:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-12-06 18:30:05 -0600 |
commit | f1f1d2243299cd1115002e5b5047e9c3a0a73134 (patch) | |
tree | 291f73c3407887b9d524ff9ea34dc93c2d31b879 /src/kernel/qeventloop_unix.cpp | |
parent | 3f5dc49edf41359f18e7c94c28a345a9600eb44f (diff) | |
download | tqt3-f1f1d2243299cd1115002e5b5047e9c3a0a73134.tar.gz tqt3-f1f1d2243299cd1115002e5b5047e9c3a0a73134.zip |
Automated update from Qt3
Diffstat (limited to 'src/kernel/qeventloop_unix.cpp')
-rw-r--r-- | src/kernel/qeventloop_unix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/qeventloop_unix.cpp b/src/kernel/qeventloop_unix.cpp index ccdbb4b8d..1c391f413 100644 --- a/src/kernel/qeventloop_unix.cpp +++ b/src/kernel/qeventloop_unix.cpp @@ -562,6 +562,8 @@ int TQEventLoop::activateTimers() n_act++; TQTimerEvent e( t->id ); TQApplication::sendEvent( t->obj, &e ); // send event + if ( !timerList ) // sendEvent allows other threads to execute, therefore we must check for list existence when it returns! + return 0; if ( timerList->findRef( begin ) == -1 ) begin = 0; } |