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 ) ); 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,