small merge changes
This commit is contained in:
parent
e529baeb94
commit
ab31fc476f
1 changed files with 8 additions and 13 deletions
|
@ -668,13 +668,10 @@ void CServer::OnAboutToQuit()
|
||||||
void CServer::OnHandledSignal ( int sigNum )
|
void CServer::OnHandledSignal ( int sigNum )
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
// Windows does not actually get OnHandledSignal triggered
|
// Windows does not actually get OnHandledSignal triggered
|
||||||
QCoreApplication::instance()->exit();
|
QCoreApplication::instance()->exit();
|
||||||
Q_UNUSED ( sigNum )
|
Q_UNUSED ( sigNum )
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
switch ( sigNum )
|
switch ( sigNum )
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -690,12 +687,18 @@ void CServer::OnHandledSignal ( int sigNum )
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CServer::RequestNewRecording()
|
||||||
|
{
|
||||||
|
if ( bEnableRecording )
|
||||||
|
{
|
||||||
|
emit RestartRecorder();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void CServer::Start()
|
void CServer::Start()
|
||||||
{
|
{
|
||||||
// only start if not already running
|
// only start if not already running
|
||||||
|
@ -1590,11 +1593,3 @@ void CServer::CreateLevelsForAllConChannels ( const int i
|
||||||
vecLevelsOut[j] = static_cast<uint16_t> ( ceil ( dCurSigLevel ) );
|
vecLevelsOut[j] = static_cast<uint16_t> ( ceil ( dCurSigLevel ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CServer::RequestNewRecording()
|
|
||||||
{
|
|
||||||
if ( bEnableRecording )
|
|
||||||
{
|
|
||||||
emit RestartRecorder();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue