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 );