aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeifa <26681464+TrickyLeifa@users.noreply.github.com>2024-05-26 20:40:52 +0200
committerGitHub <noreply@github.com>2024-05-26 13:40:52 -0500
commit4ec2a2efbbb555780653adb4e904a38799b7a4ae (patch)
tree5f9a0ae4d72b7fc4304a624b52f95aa23710fc0d
parent4c56a25463d15cf12e21fe512a598bee91b3363d (diff)
Fix disconnectedFromServer not emitting in NetWebSocketConnection (#973)
-rw-r--r--src/net/netwebsocketconnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/netwebsocketconnection.cpp b/src/net/netwebsocketconnection.cpp
index a9d2e10c..91fc526f 100644
--- a/src/net/netwebsocketconnection.cpp
+++ b/src/net/netwebsocketconnection.cpp
@@ -73,7 +73,7 @@ void NetWebSocketConnection::onStateChanged(QAbstractSocket::SocketState state)
break;
case QAbstractSocket::UnconnectedState:
- Q_EMIT disconnectFromServer();
+ Q_EMIT disconnectedFromServer();
break;
}
}