mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
gui/start_wizard.cpp: hack to enable easy setup aka fast scan setup, if locale is nederlands only
This commit is contained in:
@@ -94,14 +94,17 @@ int CStartUpWizard::exec(CMenuTarget* parent, const string & /*actionKey*/)
|
||||
{
|
||||
int advanced = 1;
|
||||
#ifdef ENABLE_FASTSCAN
|
||||
advanced = 0;
|
||||
CMenuWidget wtype(LOCALE_WIZARD_SETUP);
|
||||
wtype.setWizardMode(true);
|
||||
wtype.addIntroItems();
|
||||
CMenuOptionChooser * mc = new CMenuOptionChooser(LOCALE_WIZARD_SETUP_TYPE, &advanced, WIZARD_SETUP_TYPE, 2, true, NULL);
|
||||
mc->setHint("", LOCALE_WIZARD_SETUP_TYPE_HINT);
|
||||
wtype.addItem(mc);
|
||||
wtype.exec(NULL, "");
|
||||
std::string lang = g_settings.language;
|
||||
if (lang == "nederlands") {
|
||||
advanced = 0;
|
||||
CMenuWidget wtype(LOCALE_WIZARD_SETUP);
|
||||
wtype.setWizardMode(true);
|
||||
wtype.addIntroItems();
|
||||
CMenuOptionChooser * mc = new CMenuOptionChooser(LOCALE_WIZARD_SETUP_TYPE, &advanced, WIZARD_SETUP_TYPE, 2, true, NULL);
|
||||
mc->setHint("", LOCALE_WIZARD_SETUP_TYPE_HINT);
|
||||
wtype.addItem(mc);
|
||||
wtype.exec(NULL, "");
|
||||
}
|
||||
#endif
|
||||
//open video settings in wizardmode
|
||||
if(advanced && res != menu_return::RETURN_EXIT_ALL) {
|
||||
|
Reference in New Issue
Block a user