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