summaryrefslogtreecommitdiffstats
path: root/src/kernel/qeventloop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qeventloop.cpp')
-rw-r--r--src/kernel/qeventloop.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/qeventloop.cpp b/src/kernel/qeventloop.cpp
index e13a0e92a..2bfeb9451 100644
--- a/src/kernel/qeventloop.cpp
+++ b/src/kernel/qeventloop.cpp
@@ -223,8 +223,9 @@ int TQEventLoop::enterLoop()
d->shortcut = FALSE;
d->looplevel++;
- while ( ! d->exitloop )
+ while ( ! d->exitloop ) {
processEvents( AllEvents | WaitForMore );
+ }
d->looplevel--;
// restore the exitloop state, but if quitnow is TRUE, we need to keep