Fix CLI application failure when glib event loop is used

pull/2/head
Timothy Pearson 12 years ago
parent 5aa389f311
commit c47f5e14e4

@ -90,6 +90,9 @@ public:
xfd = -1; xfd = -1;
x_gPollFD.fd = -1; x_gPollFD.fd = -1;
#endif // Q_WS_X11 #endif // Q_WS_X11
singletoolkit = TRUE;
ctx = 0;
ctx_is_default = false;
reset(); reset();
} }
@ -99,11 +102,8 @@ public:
quitnow = FALSE; quitnow = FALSE;
exitloop = FALSE; exitloop = FALSE;
shortcut = FALSE; shortcut = FALSE;
singletoolkit = TRUE;
ctx = 0;
ctx_is_default = false;
} }
int looplevel; int looplevel;
int quitcode; int quitcode;
unsigned int quitnow : 1; unsigned int quitnow : 1;

Loading…
Cancel
Save