gui/start_wizard.cpp: hack to enable easy setup aka fast scan setup, if locale is nederlands only

This commit is contained in:
[CST] Focus
2013-08-05 19:43:45 +04:00
parent 8ade9f656b
commit 3e207638ef

View File

@@ -94,6 +94,8 @@ int CStartUpWizard::exec(CMenuTarget* parent, const string & /*actionKey*/)
{ {
int advanced = 1; int advanced = 1;
#ifdef ENABLE_FASTSCAN #ifdef ENABLE_FASTSCAN
std::string lang = g_settings.language;
if (lang == "nederlands") {
advanced = 0; advanced = 0;
CMenuWidget wtype(LOCALE_WIZARD_SETUP); CMenuWidget wtype(LOCALE_WIZARD_SETUP);
wtype.setWizardMode(true); wtype.setWizardMode(true);
@@ -102,6 +104,7 @@ int CStartUpWizard::exec(CMenuTarget* parent, const string & /*actionKey*/)
mc->setHint("", LOCALE_WIZARD_SETUP_TYPE_HINT); mc->setHint("", LOCALE_WIZARD_SETUP_TYPE_HINT);
wtype.addItem(mc); wtype.addItem(mc);
wtype.exec(NULL, ""); 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) {