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
|
||||
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)
|
||||
|
Reference in New Issue
Block a user