equal
deleted
inserted
replaced
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: |