Commit 26a440b8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: remove Linux DVB device spin box

parent ceeacab6
......@@ -930,14 +930,9 @@ void CaptureOpenPanel::initialize()
dvbCard->setAlignment( Qt::AlignRight );
#ifdef __linux__
dvbCard->setPrefix( "/dev/dvb/adapter" );
dvbFE = new QSpinBox;
dvbFE->setPrefix( "/frontend" );
#endif
dvbDevLayout->addWidget( dvbDeviceLabel, 0, 0 );
dvbDevLayout->addWidget( dvbCard, 0, 1, 1, 2 );
#ifdef __linux__
dvbDevLayout->addWidget( dvbFE, 0, 3 );
#endif
dvbc = new QRadioButton( "DVB-C" );
dvbs = new QRadioButton( "DVB-S" );
......@@ -1017,9 +1012,6 @@ void CaptureOpenPanel::initialize()
/* DVB CONNECTs */
CuMRL( dvbCard, valueChanged ( int ) );
#ifdef __linux__
CuMRL( dvbFE, valueChanged ( int ) );
#endif
CuMRL( dvbFreq, valueChanged ( int ) );
CuMRL( dvbSrate, valueChanged ( int ) );
CuMRL( dvbQamBox, currentIndexChanged ( int ) );
......@@ -1171,9 +1163,6 @@ void CaptureOpenPanel::updateMRL()
fileList << mrl; mrl= "";
mrl += " :dvb-adapter=" + QString::number( dvbCard->value() );
#ifdef __linux__
mrl += " :dvb-device=" + QString::number( dvbFE->value() );
#endif
break;
case SCREEN_DEVICE:
fileList << "screen://";
......
......@@ -214,7 +214,7 @@ private:
QRadioButton *dvbc, *dvbs, *dvbs2, *dvbt, *dvbt2, *atsc, *cqam;
QLabel *dvbBandLabel, *dvbSrateLabel, *dvbModLabel;
QComboBox *dvbQamBox, *dvbPskBox, *dvbBandBox;
QSpinBox *dvbCard, *dvbFE, *dvbFreq, *dvbSrate;
QSpinBox *dvbCard, *dvbFreq, *dvbSrate;
QDoubleSpinBox *screenFPS;
public slots:
......
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