summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-13 20:35:23 -0600
committerTimothy Pearson <[email protected]>2013-02-13 20:35:23 -0600
commitc47f5e14e4231c872828374d05815d59a045cb2c (patch)
treeeb0846dfcc1d81a353321e8664b4e7c628fda141 /src
parent5aa389f311cae593530b0d0f500d67b10f7dd494 (diff)
downloadqt3-c47f5e14e4231c872828374d05815d59a045cb2c.tar.gz
qt3-c47f5e14e4231c872828374d05815d59a045cb2c.zip
Fix CLI application failure when glib event loop is used
Diffstat (limited to 'src')
-rw-r--r--src/kernel/qeventloop_glib_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/qeventloop_glib_p.h b/src/kernel/qeventloop_glib_p.h
index 3fa3593..4dfc02c 100644
--- a/src/kernel/qeventloop_glib_p.h
+++ b/src/kernel/qeventloop_glib_p.h
@@ -90,6 +90,9 @@ public:
xfd = -1;
x_gPollFD.fd = -1;
#endif // Q_WS_X11
+ singletoolkit = TRUE;
+ ctx = 0;
+ ctx_is_default = false;
reset();
}
@@ -99,11 +102,8 @@ public:
quitnow = FALSE;
exitloop = FALSE;
shortcut = FALSE;
- singletoolkit = TRUE;
- ctx = 0;
- ctx_is_default = false;
}
-
+
int looplevel;
int quitcode;
unsigned int quitnow : 1;