Commit 9fcda59c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: uniformize DVB dialog

parent 8a1431dc
...@@ -1137,22 +1137,13 @@ void CaptureOpenPanel::updateMRL() ...@@ -1137,22 +1137,13 @@ void CaptureOpenPanel::updateMRL()
if( cqam->isChecked() ) mrl = "cqam://"; if( cqam->isChecked() ) mrl = "cqam://";
mrl += "frequency=" + QString::number( dvbFreq->value() ); mrl += "frequency=" + QString::number( dvbFreq->value() );
#ifdef WIN32 /* TODO: harmonize frequencies!! */
if( !dvbs->isChecked() )
mrl +="000";
#endif
if( dvbc->isChecked() || cqam->isChecked() ) if( dvbc->isChecked() || cqam->isChecked() )
{ {
unsigned qam = unsigned qam =
dvbModBox->itemData( dvbModBox->currentIndex() ).toInt(); dvbModBox->itemData( dvbModBox->currentIndex() ).toInt();
if( qam != 0 ) if( qam != 0 )
{ mrl += ":modulation=" + QString::number( qam ) + "QAM";
mrl += ":modulation=" + QString::number( qam );
#ifndef WIN32
mrl += "QAM";
#endif
}
mrl += ":srate=" + QString::number( dvbSrate->value() ); mrl += ":srate=" + QString::number( dvbSrate->value() );
} }
if( dvbc->isChecked() || dvbs->isChecked() ) if( dvbc->isChecked() || dvbs->isChecked() )
......
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