small fix
This commit is contained in:
parent
0cc8c203fa
commit
911692c5fa
1 changed files with 10 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue