From 40cf36eb878b6826420c3197893c39de6f21a9a2 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sat, 6 Jun 2020 10:24:22 +0200 Subject: [PATCH] small fix --- src/client.cpp | 10 ++-------- src/client.h | 3 --- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/client.cpp b/src/client.cpp index a6dd8e7a..e1b3c419 100755 --- a/src/client.cpp +++ b/src/client.cpp @@ -206,7 +206,7 @@ CClient::CClient ( const quint16 iPortNumber, QObject::connect ( &ConnLessProtocol, SIGNAL ( CLChannelLevelListReceived ( CHostAddress, CVector ) ), - this, SLOT ( OnCLChannelLevelListReceived ( CHostAddress, CVector ) ) ); + SIGNAL ( CLChannelLevelListReceived ( CHostAddress, CVector ) ) ); // other QObject::connect ( &Sound, SIGNAL ( ReinitRequest ( int ) ), @@ -673,12 +673,6 @@ void CClient::OnSndCrdReinitRequest ( int iSndCrdResetType ) } } -void CClient::OnCLChannelLevelListReceived ( CHostAddress InetAddr, - CVector vecLevelList ) -{ - emit CLChannelLevelListReceived ( InetAddr, vecLevelList ); -} - void CClient::OnHandledSignal ( int sigNum ) { #ifdef _WIN32 @@ -690,7 +684,7 @@ void CClient::OnHandledSignal ( int sigNum ) { case SIGINT: case SIGTERM: - // This should trigger OnAboutToQuit + // this should trigger OnAboutToQuit QCoreApplication::instance()->exit(); break; diff --git a/src/client.h b/src/client.h index bc6a1da4..1852d77b 100755 --- a/src/client.h +++ b/src/client.h @@ -418,9 +418,6 @@ public slots: void OnSndCrdReinitRequest ( int iSndCrdResetType ); - void OnCLChannelLevelListReceived ( CHostAddress InetAddr, - CVector vecLevelList ); - signals: void ConClientListMesReceived ( CVector vecChanInfo ); void ChatTextReceived ( QString strChatText );