This commit is contained in:
Rob Blanckaert 2019-03-01 15:11:09 -08:00 committed by Zach H
parent eb60fec8e2
commit 63839eb464

View file

@ -81,9 +81,11 @@ void RemoteClient::slotWebSocketError(QAbstractSocket::SocketError /*error*/)
{
QString errorString = websocket->errorString();
if (getStatus() != ClientStatus::StatusDisconnected) {
doDisconnectFromServer();
emit socketError(errorString);
}
}
void RemoteClient::slotConnected()
{