From e863a01b9b25bb426f1475d8e1e7a05f10f75177 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 9 Dec 2012 16:34:42 -0600 Subject: Automated update from Qt3 --- src/kernel/qeventloop_glib_p.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/kernel/qeventloop_glib_p.h') 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 sn_pending_list; // store flags for one iteration - uint pev_flags; + uint pev_flags; // My GSource GSource * gSource; -- cgit v1.2.1