mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
src/gui/osd_setup.cpp: use CMenuForwarder instead CMenuDForwarder
This should avoid possible segfaults when user is calling color setup.
This behavior was observed if start wizard has been completed and
after that user wants to change color settings.
If target object is a singelton, this should not be an issue.
Origin commit data
------------------
Commit: 84612b795c
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-11 (Wed, 11 Apr 2018)
This commit is contained in:
@@ -787,7 +787,7 @@ void COsdSetup::showOsdMenueColorSetup(CMenuWidget *menu_colors)
|
||||
{
|
||||
menu_colors->addIntroItems(LOCALE_COLORMENU_MENUCOLORS);
|
||||
|
||||
CMenuForwarder * mf = new CMenuDForwarder(LOCALE_COLORMENU_THEMESELECT, true, NULL, CThemes::getInstance(), NULL, CRCInput::RC_red);
|
||||
CMenuForwarder * mf = new CMenuForwarder(LOCALE_COLORMENU_THEMESELECT, true, NULL, CThemes::getInstance(), NULL, CRCInput::RC_red);
|
||||
mf->setHint("", LOCALE_MENU_HINT_THEME);
|
||||
menu_colors->addItem(mf);
|
||||
|
||||
|
Reference in New Issue
Block a user