QTfrontend/newnetclient.cpp
changeset 5230 c088be28d5e8
parent 5229 148d581b17ab
child 5390 f41e87de8989
equal deleted inserted replaced
5229:148d581b17ab 5230:c088be28d5e8
   187 }
   187 }
   188 
   188 
   189 void HWNewNet::displayError(QAbstractSocket::SocketError socketError)
   189 void HWNewNet::displayError(QAbstractSocket::SocketError socketError)
   190 {
   190 {
   191     emit Disconnected();
   191     emit Disconnected();
       
   192     m_game_connected = false;
   192 
   193 
   193     switch (socketError) {
   194     switch (socketError) {
   194         case QAbstractSocket::RemoteHostClosedError:
   195         case QAbstractSocket::RemoteHostClosedError:
   195             break;
   196             break;
   196         case QAbstractSocket::HostNotFoundError:
   197         case QAbstractSocket::HostNotFoundError: