diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-05-01 15:08:14 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-05-01 15:08:14 -0500 |
commit | c69c3400cbccaa8273918a68a749ce98a2340290 (patch) | |
tree | 64be258391f3e12477dfc1c4f9ae3ff8196c47d8 /src/kernel/qeventloop.cpp | |
parent | 83d39cad274f592a43a3262926d215493caea0bc (diff) | |
download | qt3-c69c3400cbccaa8273918a68a749ce98a2340290.tar.gz qt3-c69c3400cbccaa8273918a68a749ce98a2340290.zip |
Use glib thread initialization functions when glib main loop is in use
This resolves Bug 1484
Diffstat (limited to 'src/kernel/qeventloop.cpp')
-rw-r--r-- | src/kernel/qeventloop.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/qeventloop.cpp b/src/kernel/qeventloop.cpp index 5eadb9e..1285098 100644 --- a/src/kernel/qeventloop.cpp +++ b/src/kernel/qeventloop.cpp @@ -223,8 +223,9 @@ int QEventLoop::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 |