bug fix: the ping time LED was not reset if the connection was stopped

This commit is contained in:
Volker Fischer 2014-01-21 21:19:51 +00:00
parent 1593661c25
commit 403f3a52f2
2 changed files with 7 additions and 2 deletions

View file

@ -1078,7 +1078,7 @@ OnTimerStatus();
ledBuffers->Reset();
ledDelay->Reset();
ledChat->Reset();
ClientSettingsDlg.ResetStatus();
ClientSettingsDlg.ResetStatusAndPingLED();
// clear mixer board (remove all faders)
MainMixerBoard->HideAll();

View file

@ -56,7 +56,12 @@ public:
Qt::WindowFlags f = 0 );
void SetStatus ( const CMultiColorLED::ELightColor eStatus ) { ledNetw->SetLight ( eStatus ); }
void ResetStatus() { ledNetw->Reset(); }
void ResetStatusAndPingLED()
{
ledNetw->Reset();
ledOverallDelay->Reset();
}
void SetPingTimeResult ( const int iPingTime,
const int iOverallDelayMs,