small fix

This commit is contained in:
Volker Fischer 2020-06-06 10:24:22 +02:00
parent 66cc806fb0
commit 40cf36eb87
2 changed files with 2 additions and 11 deletions

View file

@ -206,7 +206,7 @@ CClient::CClient ( const quint16 iPortNumber,
QObject::connect ( &ConnLessProtocol,
SIGNAL ( CLChannelLevelListReceived ( CHostAddress, CVector<uint16_t> ) ),
this, SLOT ( OnCLChannelLevelListReceived ( CHostAddress, CVector<uint16_t> ) ) );
SIGNAL ( CLChannelLevelListReceived ( CHostAddress, CVector<uint16_t> ) ) );
// other
QObject::connect ( &Sound, SIGNAL ( ReinitRequest ( int ) ),
@ -673,12 +673,6 @@ void CClient::OnSndCrdReinitRequest ( int iSndCrdResetType )
}
}
void CClient::OnCLChannelLevelListReceived ( CHostAddress InetAddr,
CVector<uint16_t> 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;

View file

@ -418,9 +418,6 @@ public slots:
void OnSndCrdReinitRequest ( int iSndCrdResetType );
void OnCLChannelLevelListReceived ( CHostAddress InetAddr,
CVector<uint16_t> vecLevelList );
signals:
void ConClientListMesReceived ( CVector<CChannelInfo> vecChanInfo );
void ChatTextReceived ( QString strChatText );