summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert McNamara <rmcnamara@mythtv.org>2011-06-19 19:20:51 (GMT)
committer Robert McNamara <rmcnamara@mythtv.org>2011-06-19 19:20:51 (GMT)
commit7c2c249331e6abfd4dec17c48643f50c09d90653 (patch)
treeb4e98fd7dc1804c638545ddd9e2d23d1977765c0
parentef79f360d1f326e10c60415a553e3f3695754dcc (diff)
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.
-rw-r--r--mythtv/libs/libmythtv/videosource.cpp4
-rw-r--r--mythtv/libs/libmythtv/videosource.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/mythtv/libs/libmythtv/videosource.cpp b/mythtv/libs/libmythtv/videosource.cpp
index 5d7a508..ed216df 100644
--- a/mythtv/libs/libmythtv/videosource.cpp
+++ b/mythtv/libs/libmythtv/videosource.cpp
@@ -1337,8 +1337,6 @@ HDHomeRunTunerIndex::HDHomeRunTunerIndex()
{
setLabel(QObject::tr("Tuner"));
setEnabled(false);
- addSelection("0");
- addSelection("1");
connect(this, SIGNAL(valueChanged( const QString&)),
this, SLOT( UpdateDevices(const QString&)));
_oldValue = "";
@@ -1346,7 +1344,7 @@ HDHomeRunTunerIndex::HDHomeRunTunerIndex()
void HDHomeRunTunerIndex::setEnabled(bool e)
{
- TransComboBoxSetting::setEnabled(e);
+ TransLineEditSetting::setEnabled(e);
if (e) {
if (!_oldValue.isEmpty())
setValue(_oldValue);
diff --git a/mythtv/libs/libmythtv/videosource.h b/mythtv/libs/libmythtv/videosource.h
index ffaba5f..5edd19e 100644
--- a/mythtv/libs/libmythtv/videosource.h
+++ b/mythtv/libs/libmythtv/videosource.h
@@ -823,7 +823,7 @@ class HDHomeRunIP : public TransLineEditSetting
QString _oldValue;
};
-class HDHomeRunTunerIndex : public TransComboBoxSetting
+class HDHomeRunTunerIndex : public TransLineEditSetting
{
Q_OBJECT