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