QTfrontend/net/newnetclient.cpp
changeset 6722 e3a35bc838fb
parent 6700 e04da46ee43c
child 6732 c906dc78091f
equal deleted inserted replaced
6721:7dbf8a0c1f5d 6722:e3a35bc838fb
   189     m_game_connected = false;
   189     m_game_connected = false;
   190 
   190 
   191     switch (socketError)
   191     switch (socketError)
   192     {
   192     {
   193         case QAbstractSocket::RemoteHostClosedError:
   193         case QAbstractSocket::RemoteHostClosedError:
       
   194             emit disconnected(tr("Remote host has closed connection"));
   194             break;
   195             break;
   195         case QAbstractSocket::HostNotFoundError:
   196         case QAbstractSocket::HostNotFoundError:
   196             emit disconnected(tr("The host was not found. Please check the host name and port settings."));
   197             emit disconnected(tr("The host was not found. Please check the host name and port settings."));
   197             break;
   198             break;
   198         case QAbstractSocket::ConnectionRefusedError:
   199         case QAbstractSocket::ConnectionRefusedError: