Re-enabled all Qt sound control sliders. At least until it is determined what should be disbaled when low quality is selected.

This commit is contained in:
mjbudd77 2021-05-31 20:00:36 -04:00
parent 7c0413b5ac
commit b61b30e0bb
1 changed files with 20 additions and 18 deletions

View File

@ -276,24 +276,26 @@ void ConsoleSndConfDialog_t::closeWindow(void)
//----------------------------------------------------
void ConsoleSndConfDialog_t::setSliderEnables(void)
{
if ( sndQuality == 0 )
{
sqr2Lbl->setEnabled(false);
nseLbl->setEnabled(false);
pcmLbl->setEnabled(false);
sqr2Slider->setEnabled(false);
nseSlider->setEnabled(false);
pcmSlider->setEnabled(false);
}
else
{
sqr2Lbl->setEnabled(true);
nseLbl->setEnabled(true);
pcmLbl->setEnabled(true);
sqr2Slider->setEnabled(true);
nseSlider->setEnabled(true);
pcmSlider->setEnabled(true);
}
// For now, always leave all sliders enabled.
// Until we figure out how low qualtiy sound uses these
//if ( sndQuality == 0 )
//{
// sqr2Lbl->setEnabled(false);
// nseLbl->setEnabled(false);
// pcmLbl->setEnabled(false);
// sqr2Slider->setEnabled(false);
// nseSlider->setEnabled(false);
// pcmSlider->setEnabled(false);
//}
//else
//{
// sqr2Lbl->setEnabled(true);
// nseLbl->setEnabled(true);
// pcmLbl->setEnabled(true);
// sqr2Slider->setEnabled(true);
// nseSlider->setEnabled(true);
// pcmSlider->setEnabled(true);
//}
}
//----------------------------------------------------