mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
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.
Origin commit data
------------------
Commit: 7044df1f9f
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-29 (Wed, 29 Apr 2015)
This commit is contained in:
@@ -1145,10 +1145,6 @@ bool COsdSetup::changeNotify(const neutrino_locale_t OptionName, void * data)
|
|||||||
g_InfoViewer->changePB();
|
g_InfoViewer->changePB();
|
||||||
return false;
|
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)) {
|
else if(ARE_LOCALES_EQUAL(OptionName, LOCALE_COLORMENU_OSD_PRESET)) {
|
||||||
int preset = * (int *) data;
|
int preset = * (int *) data;
|
||||||
printf("preset %d (setting %d)\n", preset, g_settings.screen_preset);
|
printf("preset %d (setting %d)\n", preset, g_settings.screen_preset);
|
||||||
|
Reference in New Issue
Block a user