summaryrefslogtreecommitdiffstats
path: root/src/kernel/qeventloop.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-01 15:08:14 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-01 15:08:14 -0500
commitc69c3400cbccaa8273918a68a749ce98a2340290 (patch)
tree64be258391f3e12477dfc1c4f9ae3ff8196c47d8 /src/kernel/qeventloop.cpp
parent83d39cad274f592a43a3262926d215493caea0bc (diff)
downloadqt3-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.cpp3
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