Permalink
Browse files

HDHomeRun: Make Tuner number editable.

Since we can't create the right number of tuners automatically in .24, at least allow manual edit so that HDHR Prime users can use all their tuners.
  • Loading branch information...
1 parent ef79f36 commit 7c2c249331e6abfd4dec17c48643f50c09d90653 Robert McNamara committed Jun 19, 2011
Showing with 2 additions and 4 deletions.
  1. +1 −3 mythtv/libs/libmythtv/videosource.cpp
  2. +1 −1 mythtv/libs/libmythtv/videosource.h
@@ -1337,16 +1337,14 @@ HDHomeRunTunerIndex::HDHomeRunTunerIndex()
{
setLabel(QObject::tr("Tuner"));
setEnabled(false);
- addSelection("0");
- addSelection("1");
connect(this, SIGNAL(valueChanged( const QString&)),
this, SLOT( UpdateDevices(const QString&)));
_oldValue = "";
};
void HDHomeRunTunerIndex::setEnabled(bool e)
{
- TransComboBoxSetting::setEnabled(e);
+ TransLineEditSetting::setEnabled(e);
if (e) {
if (!_oldValue.isEmpty())
setValue(_oldValue);
@@ -823,7 +823,7 @@ class HDHomeRunIP : public TransLineEditSetting
QString _oldValue;
};
-class HDHomeRunTunerIndex : public TransComboBoxSetting
+class HDHomeRunTunerIndex : public TransLineEditSetting
{
Q_OBJECT

0 comments on commit 7c2c249

Please sign in to comment.