From 40fbd0b4ed6be9ffb3f769bf69eedaec7e8f56bc Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 27 Apr 2021 22:17:42 +0200 Subject: [PATCH] osd-setup: more cleanup Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/2e369f4265ed5668487c6a1fa18e94b38131b96b Author: vanhofen Date: 2021-04-27 (Tue, 27 Apr 2021) Origin message was: ------------------ - osd-setup: more cleanup ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/osd_setup.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/gui/osd_setup.cpp b/src/gui/osd_setup.cpp index 2934d1c4e..eb91fe1a6 100644 --- a/src/gui/osd_setup.cpp +++ b/src/gui/osd_setup.cpp @@ -721,13 +721,6 @@ int COsdSetup::showOsdSetup() osd_menu->addItem(mc); #endif -#if 0 - // round corners - mc = new CMenuOptionChooser(LOCALE_EXTRA_ROUNDED_CORNERS, &g_settings.theme.rounded_corners, MENU_CORNERSETTINGS_TYPE_OPTIONS, MENU_CORNERSETTINGS_TYPE_OPTION_COUNT, true, this); - mc->setHint("", LOCALE_MENU_HINT_ROUNDED_CORNERS); - osd_menu->addItem(mc); -#endif - // fade windows mc = new CMenuOptionChooser(LOCALE_COLORMENU_FADE, &g_settings.widget_fade, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true ); mc->setHint("", LOCALE_MENU_HINT_FADE); @@ -1274,12 +1267,7 @@ void COsdSetup::showOsdInfobarSetup(CMenuWidget *menu_infobar) mc = new CMenuOptionChooser(LOCALE_MISCSETTINGS_INFOBAR_SHOW, &g_settings.infobar_show, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true); mc->setHint("", LOCALE_MENU_HINT_INFOBAR_ON_EPG); menu_infobar->addItem(mc); -#if 0 - // radiotext - mc = new CMenuOptionChooser(LOCALE_MISCSETTINGS_RADIOTEXT, &g_settings.radiotext_enable, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this); - mc->setHint("", LOCALE_MENU_HINT_INFOBAR_RADIOTEXT); - menu_infobar->addItem(mc); -#endif + // buttons usertitle mc = new CMenuOptionChooser(LOCALE_MISCSETTINGS_INFOBAR_BUTTONS_USERTITLE, &g_settings.infobar_buttons_usertitle, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this); mc->setHint("", LOCALE_MENU_HINT_INFOBAR_BUTTONS_USERTITLE);