diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-12-09 16:34:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-12-09 16:34:42 -0600 |
commit | e863a01b9b25bb426f1475d8e1e7a05f10f75177 (patch) | |
tree | be4b9f0abd55eb267680fd8bfa936925df70dac1 /src/kernel/qeventloop_glib_p.h | |
parent | 3289e9c0d823a61384976d2c356b7523f093b886 (diff) | |
download | tqt3-e863a01b9b25bb426f1475d8e1e7a05f10f75177.tar.gz tqt3-e863a01b9b25bb426f1475d8e1e7a05f10f75177.zip |
Automated update from Qt3
Diffstat (limited to 'src/kernel/qeventloop_glib_p.h')
-rw-r--r-- | src/kernel/qeventloop_glib_p.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/kernel/qeventloop_glib_p.h b/src/kernel/qeventloop_glib_p.h index c67fdbd85..537406854 100644 --- a/src/kernel/qeventloop_glib_p.h +++ b/src/kernel/qeventloop_glib_p.h @@ -86,6 +86,10 @@ class TQEventLoopPrivate public: TQEventLoopPrivate() { +#if defined(Q_WS_X11) + xfd = -1; + x_gPollFD.fd = -1; +#endif // Q_WS_X11 reset(); } @@ -106,9 +110,7 @@ public: #if defined(Q_WS_X11) int xfd; - - GPollFD x_gPollFD; - + GPollFD x_gPollFD; #endif // Q_WS_X11 int thread_pipe[2]; @@ -119,7 +121,7 @@ public: TQPtrList<TQSockNotGPollFD> sn_pending_list; // store flags for one iteration - uint pev_flags; + uint pev_flags; // My GSource GSource * gSource; |