Show message and return from network game pages on server shutdown
authorunc0rr
Mon, 20 Feb 2012 22:04:52 +0400
changeset 6722 e3a35bc838fb
parent 6721 7dbf8a0c1f5d
child 6723 b77e2d4d664b
Show message and return from network game pages on server shutdown
QTfrontend/net/newnetclient.cpp
--- a/QTfrontend/net/newnetclient.cpp	Mon Feb 20 21:52:18 2012 +0400
+++ b/QTfrontend/net/newnetclient.cpp	Mon Feb 20 22:04:52 2012 +0400
@@ -191,6 +191,7 @@
     switch (socketError)
     {
         case QAbstractSocket::RemoteHostClosedError:
+            emit disconnected(tr("Remote host has closed connection"));
             break;
         case QAbstractSocket::HostNotFoundError:
             emit disconnected(tr("The host was not found. Please check the host name and port settings."));