From fecfe91124a9c7534df5e1de7860ef3c6d50112f Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 12 Oct 2021 23:04:56 +0200 Subject: [PATCH] - webchannels-setup: always allow g_settings.livestreamResolution selection Signed-off-by: Thilo Graf --- src/gui/webchannels_setup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/webchannels_setup.cpp b/src/gui/webchannels_setup.cpp index 0c1a4eaf0..67b7cd149 100644 --- a/src/gui/webchannels_setup.cpp +++ b/src/gui/webchannels_setup.cpp @@ -216,10 +216,10 @@ int CWebChannelsSetup::Show() int shortcut = 1; +#if 0 bool _mode_webtv = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv) && (!CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty()); -#if 0 bool _mode_webradio = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio) && (!CZapit::getInstance()->GetCurrentChannel()->getScriptName().empty()); @@ -234,7 +234,7 @@ int CWebChannelsSetup::Show() if (!webradio) { livestreamResolution = g_settings.livestreamResolution; - oc = new CMenuOptionChooser(LOCALE_LIVESTREAM_RESOLUTION, &livestreamResolution, LIVESTREAM_RESOLUTION_OPTIONS, LIVESTREAM_RESOLUTION_OPTION_COUNT, _mode_webtv, this, CRCInput::convertDigitToKey(shortcut++), "", true); + oc = new CMenuOptionChooser(LOCALE_LIVESTREAM_RESOLUTION, &livestreamResolution, LIVESTREAM_RESOLUTION_OPTIONS, LIVESTREAM_RESOLUTION_OPTION_COUNT, true, this, CRCInput::convertDigitToKey(shortcut++), "", true); // FIXME oc->setHint(NEUTRINO_ICON_HINT_DEFAULT, NONEXISTANT_LOCALE); m->addItem(oc);