small fix
This commit is contained in:
parent
66cc806fb0
commit
40cf36eb87
2 changed files with 2 additions and 11 deletions
|
@ -206,7 +206,7 @@ CClient::CClient ( const quint16 iPortNumber,
|
||||||
|
|
||||||
QObject::connect ( &ConnLessProtocol,
|
QObject::connect ( &ConnLessProtocol,
|
||||||
SIGNAL ( CLChannelLevelListReceived ( CHostAddress, CVector<uint16_t> ) ),
|
SIGNAL ( CLChannelLevelListReceived ( CHostAddress, CVector<uint16_t> ) ),
|
||||||
this, SLOT ( OnCLChannelLevelListReceived ( CHostAddress, CVector<uint16_t> ) ) );
|
SIGNAL ( CLChannelLevelListReceived ( CHostAddress, CVector<uint16_t> ) ) );
|
||||||
|
|
||||||
// other
|
// other
|
||||||
QObject::connect ( &Sound, SIGNAL ( ReinitRequest ( int ) ),
|
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 )
|
void CClient::OnHandledSignal ( int sigNum )
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
@ -690,7 +684,7 @@ void CClient::OnHandledSignal ( int sigNum )
|
||||||
{
|
{
|
||||||
case SIGINT:
|
case SIGINT:
|
||||||
case SIGTERM:
|
case SIGTERM:
|
||||||
// This should trigger OnAboutToQuit
|
// this should trigger OnAboutToQuit
|
||||||
QCoreApplication::instance()->exit();
|
QCoreApplication::instance()->exit();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -418,9 +418,6 @@ public slots:
|
||||||
|
|
||||||
void OnSndCrdReinitRequest ( int iSndCrdResetType );
|
void OnSndCrdReinitRequest ( int iSndCrdResetType );
|
||||||
|
|
||||||
void OnCLChannelLevelListReceived ( CHostAddress InetAddr,
|
|
||||||
CVector<uint16_t> vecLevelList );
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void ConClientListMesReceived ( CVector<CChannelInfo> vecChanInfo );
|
void ConClientListMesReceived ( CVector<CChannelInfo> vecChanInfo );
|
||||||
void ChatTextReceived ( QString strChatText );
|
void ChatTextReceived ( QString strChatText );
|
||||||
|
|
Loading…
Reference in a new issue