gui/parentallock_setup.cpp: fix non-easy mode, do not add menu security

This commit is contained in:
[CST] Focus
2013-11-29 13:04:35 +04:00
parent dd7c7fc7ae
commit 006429215b

View File

@@ -108,10 +108,13 @@ int CParentalSetup::showParentalSetup()
// intros
plock->addIntroItems();
CMenuForwarder * mf;
CPersonalizeGui &p = CNeutrinoApp::getInstance()->getPersonalizeGui();
CMenuForwarder * mf = new CMenuForwarder(LOCALE_PARENTALLOCK_MENU, true, NULL, &p, NULL, CRCInput::RC_red , NEUTRINO_ICON_BUTTON_RED);
mf->setHint("", LOCALE_MENU_HINT_PARENTALLOCK_MENU);
plock->addItem(mf);
if (g_settings.easymenu) {
mf = new CMenuForwarder(LOCALE_PARENTALLOCK_MENU, true, NULL, &p, NULL, CRCInput::RC_red , NEUTRINO_ICON_BUTTON_RED);
mf->setHint("", LOCALE_MENU_HINT_PARENTALLOCK_MENU);
plock->addItem(mf);
}
CMenuOptionChooser * mc;
if (g_settings.easymenu)