From e3359af6ace18e724bcee096ef17e49ff2a31ec3 Mon Sep 17 00:00:00 2001 From: Nils Brederlow <62596379+dingodoppelt@users.noreply.github.com> Date: Mon, 29 Jun 2026 21:36:58 +0200 Subject: [PATCH] Fix connection to ClientDisconnected signal --- src/serverrpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serverrpc.cpp b/src/serverrpc.cpp index 26db5257bb..05bb54be62 100644 --- a/src/serverrpc.cpp +++ b/src/serverrpc.cpp @@ -76,7 +76,7 @@ CServerRpc::CServerRpc ( CServer* pServer, CRpcServer* pRpcServer, QObject* pare /// @rpc_notification jamulusserver/clientDisconnected /// @brief Emitted when a client has disconnected from the server. /// @param {number} params.id - The channel ID assigned to the client. - connect ( pServer, &CServer::ClientDisconnected, [=] ( const int iChanID ) { + connect ( pServer, &CServer::ClientDisconnected, this, [=] ( const int iChanID ) { pRpcServer->BroadcastNotification ( "jamulusserver/clientDisconnected", QJsonObject{ { "id", iChanID },