summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.c b/config.c
index 26c5d0e1..0599981b 100644
--- a/config.c
+++ b/config.c
@@ -80,6 +80,8 @@ cFlatConfig::cFlatConfig(void) {
MainMenuWidgetDVBDevicesShow = true;
MainMenuWidgetDVBDevicesPosition = 2;
+ MainMenuWidgetDVBDevicesDiscardUnknown = true;
+ MainMenuWidgetDVBDevicesDiscardNotUsed = false;
MainMenuWidgetActiveTimerShow = true;
MainMenuWidgetActiveTimerPosition = 3;
@@ -348,6 +350,8 @@ bool cFlatConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "WeatherFontSize") == 0) WeatherFontSize = atod(Value);
else if (strcmp(Name, "TVScraperReplayInfoShowPoster") == 0) TVScraperReplayInfoShowPoster = atoi(Value);
else if (strcmp(Name, "TVScraperReplayInfoPosterSize") == 0) TVScraperReplayInfoPosterSize = atod(Value);
+ else if (strcmp(Name, "MainMenuWidgetDVBDevicesDiscardUnknown") == 0) MainMenuWidgetDVBDevicesDiscardUnknown = atoi(Value);
+ else if (strcmp(Name, "MainMenuWidgetDVBDevicesDiscardNotUsed") == 0) MainMenuWidgetDVBDevicesDiscardNotUsed = atoi(Value);
else return false;