Author: mir3x
Date: Mon Aug 22 22:49:37 2016
New Revision: 33672

URL: http://svn.gna.org/viewcvs/freeciv?rev=33672&view=rev
Log:
Disable/Enable QSocketNotifier on Windows only.

See bug #24909


Modified:
    branches/S2_6/client/gui-qt/fc_client.cpp

Modified: branches/S2_6/client/gui-qt/fc_client.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/fc_client.cpp?rev=33672&r1=33671&r2=33672&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/fc_client.cpp   (original)
+++ branches/S2_6/client/gui-qt/fc_client.cpp   Mon Aug 22 22:49:37 2016
@@ -432,9 +432,13 @@
 ****************************************************************************/
 void fc_client::server_input(int sock)
 {
+#if defined(Q_WS_WIN)
   server_notifier->setEnabled(false);
+#endif
   input_from_server(sock);
+#if defined(Q_WS_WIN)
   server_notifier->setEnabled(true);
+#endif
 }
 
 /****************************************************************************


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to