Skip to content

Commit

Permalink
Fix disconnectedFromServer not emitting in NetWebSocketConnection (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrickyLeifa authored May 26, 2024
1 parent 4c56a25 commit 4ec2a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/netwebsocketconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void NetWebSocketConnection::onStateChanged(QAbstractSocket::SocketState state)
break;

case QAbstractSocket::UnconnectedState:
Q_EMIT disconnectFromServer();
Q_EMIT disconnectedFromServer();
break;
}
}
Expand Down

0 comments on commit 4ec2a2e

Please sign in to comment.