mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +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;
|
int advanced = 1;
|
||||||
#ifdef ENABLE_FASTSCAN
|
#ifdef ENABLE_FASTSCAN
|
||||||
advanced = 0;
|
std::string lang = g_settings.language;
|
||||||
CMenuWidget wtype(LOCALE_WIZARD_SETUP);
|
if (lang == "nederlands") {
|
||||||
wtype.setWizardMode(true);
|
advanced = 0;
|
||||||
wtype.addIntroItems();
|
CMenuWidget wtype(LOCALE_WIZARD_SETUP);
|
||||||
CMenuOptionChooser * mc = new CMenuOptionChooser(LOCALE_WIZARD_SETUP_TYPE, &advanced, WIZARD_SETUP_TYPE, 2, true, NULL);
|
wtype.setWizardMode(true);
|
||||||
mc->setHint("", LOCALE_WIZARD_SETUP_TYPE_HINT);
|
wtype.addIntroItems();
|
||||||
wtype.addItem(mc);
|
CMenuOptionChooser * mc = new CMenuOptionChooser(LOCALE_WIZARD_SETUP_TYPE, &advanced, WIZARD_SETUP_TYPE, 2, true, NULL);
|
||||||
wtype.exec(NULL, "");
|
mc->setHint("", LOCALE_WIZARD_SETUP_TYPE_HINT);
|
||||||
|
wtype.addItem(mc);
|
||||||
|
wtype.exec(NULL, "");
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
//open video settings in wizardmode
|
//open video settings in wizardmode
|
||||||
if(advanced && res != menu_return::RETURN_EXIT_ALL) {
|
if(advanced && res != menu_return::RETURN_EXIT_ALL) {
|
||||||
|
Reference in New Issue
Block a user