mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 19:43:55 -07:00
parent
eb60fec8e2
commit
63839eb464
1 changed files with 4 additions and 2 deletions
|
|
@ -81,8 +81,10 @@ void RemoteClient::slotWebSocketError(QAbstractSocket::SocketError /*error*/)
|
||||||
{
|
{
|
||||||
|
|
||||||
QString errorString = websocket->errorString();
|
QString errorString = websocket->errorString();
|
||||||
doDisconnectFromServer();
|
if (getStatus() != ClientStatus::StatusDisconnected) {
|
||||||
emit socketError(errorString);
|
doDisconnectFromServer();
|
||||||
|
emit socketError(errorString);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RemoteClient::slotConnected()
|
void RemoteClient::slotConnected()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue