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 ) );
|
lblNetBufServer->setText ( "Size: " + QString().setNum ( iCurNumNetBufServer ) );
|
||||||
|
|
||||||
// if auto setting is enabled, disable slider control
|
// if auto setting is enabled, disable slider control
|
||||||
chbAutoJitBuf->setChecked ( pClient->GetDoAutoSockBufSize() );
|
const bool bIsAutoSockBufSize = pClient->GetDoAutoSockBufSize();
|
||||||
sldNetBuf->setEnabled ( !pClient->GetDoAutoSockBufSize() );
|
|
||||||
lblNetBuf->setEnabled ( !pClient->GetDoAutoSockBufSize() );
|
chbAutoJitBuf->setChecked ( bIsAutoSockBufSize );
|
||||||
lblNetBufLabel->setEnabled ( !pClient->GetDoAutoSockBufSize() );
|
sldNetBuf->setEnabled ( !bIsAutoSockBufSize );
|
||||||
sldNetBufServer->setEnabled ( !pClient->GetDoAutoSockBufSize() );
|
lblNetBuf->setEnabled ( !bIsAutoSockBufSize );
|
||||||
lblNetBufServer->setEnabled ( !pClient->GetDoAutoSockBufSize() );
|
lblNetBufLabel->setEnabled ( !bIsAutoSockBufSize );
|
||||||
lblNetBufServerLabel->setEnabled ( !pClient->GetDoAutoSockBufSize() );
|
sldNetBufServer->setEnabled ( !bIsAutoSockBufSize );
|
||||||
|
lblNetBufServer->setEnabled ( !bIsAutoSockBufSize );
|
||||||
|
lblNetBufServerLabel->setEnabled ( !bIsAutoSockBufSize );
|
||||||
}
|
}
|
||||||
|
|
||||||
QString CClientSettingsDlg::GenSndCrdBufferDelayString ( const int iFrameSize,
|
QString CClientSettingsDlg::GenSndCrdBufferDelayString ( const int iFrameSize,
|
||||||
|
|
Loading…
Reference in a new issue