mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
gui/parentallock_setup.cpp: fix non-easy mode, do not add menu security
This commit is contained in:
@@ -108,10 +108,13 @@ int CParentalSetup::showParentalSetup()
|
|||||||
// intros
|
// intros
|
||||||
plock->addIntroItems();
|
plock->addIntroItems();
|
||||||
|
|
||||||
|
CMenuForwarder * mf;
|
||||||
CPersonalizeGui &p = CNeutrinoApp::getInstance()->getPersonalizeGui();
|
CPersonalizeGui &p = CNeutrinoApp::getInstance()->getPersonalizeGui();
|
||||||
CMenuForwarder * mf = new CMenuForwarder(LOCALE_PARENTALLOCK_MENU, true, NULL, &p, NULL, CRCInput::RC_red , NEUTRINO_ICON_BUTTON_RED);
|
if (g_settings.easymenu) {
|
||||||
mf->setHint("", LOCALE_MENU_HINT_PARENTALLOCK_MENU);
|
mf = new CMenuForwarder(LOCALE_PARENTALLOCK_MENU, true, NULL, &p, NULL, CRCInput::RC_red , NEUTRINO_ICON_BUTTON_RED);
|
||||||
plock->addItem(mf);
|
mf->setHint("", LOCALE_MENU_HINT_PARENTALLOCK_MENU);
|
||||||
|
plock->addItem(mf);
|
||||||
|
}
|
||||||
|
|
||||||
CMenuOptionChooser * mc;
|
CMenuOptionChooser * mc;
|
||||||
if (g_settings.easymenu)
|
if (g_settings.easymenu)
|
||||||
|
Reference in New Issue
Block a user