small fix

This commit is contained in:
Volker Fischer 2011-06-18 13:32:26 +00:00
parent 0cc8c203fa
commit 911692c5fa

View file

@ -441,13 +441,15 @@ void CClientSettingsDlg::UpdateJitterBufferFrame()
lblNetBufServer->setText ( "Size: " + QString().setNum ( iCurNumNetBufServer ) );
// if auto setting is enabled, disable slider control
chbAutoJitBuf->setChecked ( pClient->GetDoAutoSockBufSize() );
sldNetBuf->setEnabled ( !pClient->GetDoAutoSockBufSize() );
lblNetBuf->setEnabled ( !pClient->GetDoAutoSockBufSize() );
lblNetBufLabel->setEnabled ( !pClient->GetDoAutoSockBufSize() );
sldNetBufServer->setEnabled ( !pClient->GetDoAutoSockBufSize() );
lblNetBufServer->setEnabled ( !pClient->GetDoAutoSockBufSize() );
lblNetBufServerLabel->setEnabled ( !pClient->GetDoAutoSockBufSize() );
const bool bIsAutoSockBufSize = pClient->GetDoAutoSockBufSize();
chbAutoJitBuf->setChecked ( bIsAutoSockBufSize );
sldNetBuf->setEnabled ( !bIsAutoSockBufSize );
lblNetBuf->setEnabled ( !bIsAutoSockBufSize );
lblNetBufLabel->setEnabled ( !bIsAutoSockBufSize );
sldNetBufServer->setEnabled ( !bIsAutoSockBufSize );
lblNetBufServer->setEnabled ( !bIsAutoSockBufSize );
lblNetBufServerLabel->setEnabled ( !bIsAutoSockBufSize );
}
QString CClientSettingsDlg::GenSndCrdBufferDelayString ( const int iFrameSize,