osd_setup: fix segfault when deactivating evenlogos in the start assistant

Signed-off-by: GetAway <get-away@t-online.de>


Origin commit data
------------------
Commit: 4421943d27
Author: max_10 <max_10@gmx.de>
Date: 2020-07-16 (Thu, 16 Jul 2020)

Origin message was:
------------------
- osd_setup: fix segfault when deactivating evenlogos in the start assistant

Signed-off-by: GetAway <get-away@t-online.de>
This commit is contained in:
max_10
2020-07-16 20:07:12 +02:00
committed by vanhofen
parent 97a0d3eb05
commit b8dc0ecac3

View File

@@ -1276,7 +1276,7 @@ void COsdSetup::showOsdChannellogosSetup(CMenuWidget *menu_channellogos)
menu_channellogos->addItem(mc); menu_channellogos->addItem(mc);
// show eventlogos // show eventlogos
mc = new CMenuOptionChooser(LOCALE_CHANNELLIST_SHOW_EVENTLOGO, &g_settings.channellist_show_eventlogo, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, g_settings.channellist_show_channellogo, this); mc = new CMenuOptionChooser(LOCALE_CHANNELLIST_SHOW_EVENTLOGO, &g_settings.channellist_show_eventlogo, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, g_settings.channellist_show_channellogo);
mc->setHint("", LOCALE_MENU_HINT_CHANNELLIST_SHOW_EVENTLOGO); mc->setHint("", LOCALE_MENU_HINT_CHANNELLIST_SHOW_EVENTLOGO);
menu_channellogos->addItem(mc); menu_channellogos->addItem(mc);
channellogoNotifier->addItem(mc); channellogoNotifier->addItem(mc);