From e77c9a0ec6c3f5104938caa27ec62136e25bf1bb Mon Sep 17 00:00:00 2001 From: Frankenstone Date: Tue, 27 Apr 2021 22:17:42 +0200 Subject: [PATCH] osd_setup: cleanup g_settings.theme.gradient_c2c --- src/gui/osd_setup.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/gui/osd_setup.cpp b/src/gui/osd_setup.cpp index 77223eb8c..936854659 100644 --- a/src/gui/osd_setup.cpp +++ b/src/gui/osd_setup.cpp @@ -819,13 +819,6 @@ void COsdSetup::showOsdMenueColorSetup(CMenuWidget *menu_colors) menu_colors->addItem( new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_COLORMENUSETUP_MENUHEAD)); CMenuOptionChooser *oj; -#if 0 - oj = new CMenuOptionChooser(LOCALE_COLOR_GRADIENT_C2C, &g_settings.theme.gradient_c2c, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true ); - oj->OnAfterChangeOption.connect(slot_repaint); - oj->setHint("", LOCALE_MENU_HINT_COLOR_GRADIENT_C2C); - menu_colors->addItem(oj); - menu_colors->addItem( new CMenuSeparator(CMenuSeparator::LINE)); -#endif mf = new CMenuDForwarder(LOCALE_COLORMENU_BACKGROUND, true, NULL, chHeadcolor ); mf->setHint("", LOCALE_MENU_HINT_HEAD_BACK);