Commit fce3f85b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: DVB-T and DVB-C should be in Hz on Windows.

parent ae80357c
...@@ -1181,13 +1181,23 @@ void CaptureOpenPanel::updateButtons() ...@@ -1181,13 +1181,23 @@ void CaptureOpenPanel::updateButtons()
bdaBandBox->hide(); bdaBandBox->hide();
bdaBandLabel->hide(); bdaBandLabel->hide();
} }
else if( bdat->isChecked() ) else if( bdat->isChecked() || bdaa->isChecked() )
{ {
bdaSrate->hide(); bdaSrate->hide();
bdaSrateLabel->hide(); bdaSrateLabel->hide();
bdaBandBox->show(); bdaBandBox->show();
bdaBandLabel->show(); bdaBandLabel->show();
} }
if( bdas->isChecked() )
{
bdaFreq->setSuffix(" kHz");
bdaFreq->setSingleStep( 1000 );
}
if( bdac->isChecked() || bdat->isChecked() || bdaa->isChecked( ) )
{
bdaFreq->setSuffix(" Hz");
bdaFreq->setSingleStep( 100000 );
}
break; break;
#else #else
case DVB_DEVICE: case DVB_DEVICE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment