From 7044df1f9f33ad2bd216a9768bfde6d79f6a2ce8 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 29 Apr 2015 12:01:11 +0200 Subject: [PATCH] COsdSetup: remove repaint call for gradient assignment Is already executed by chooser object via slot inside showOsdSetup(), and osd_menu object is not the required object. --- src/gui/osd_setup.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/osd_setup.cpp b/src/gui/osd_setup.cpp index 681cfc00d..6d2c0aad4 100644 --- a/src/gui/osd_setup.cpp +++ b/src/gui/osd_setup.cpp @@ -1145,10 +1145,6 @@ bool COsdSetup::changeNotify(const neutrino_locale_t OptionName, void * data) g_InfoViewer->changePB(); return false; } - else if(ARE_LOCALES_EQUAL(OptionName, LOCALE_COLOR_GRADIENT)) { - osd_menu->paint(); - return true; - } else if(ARE_LOCALES_EQUAL(OptionName, LOCALE_COLORMENU_OSD_PRESET)) { int preset = * (int *) data; printf("preset %d (setting %d)\n", preset, g_settings.screen_preset);