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 // 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)