From 7da9a646ed34eba0a486ebf330058e10c0d0fea1 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Fri, 6 Feb 2015 19:59:43 +0100 Subject: [PATCH] start_wizard: ensure sytem timezone settings are sane Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e0f8cddeedadeae3dfeea3574acc90a7c7aa512c Author: Stefan Seyfried Date: 2015-02-06 (Fri, 06 Feb 2015) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/start_wizard.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/start_wizard.cpp b/src/gui/start_wizard.cpp index 10c5137fd..cbf6ecaad 100644 --- a/src/gui/start_wizard.cpp +++ b/src/gui/start_wizard.cpp @@ -91,6 +91,10 @@ int CStartUpWizard::exec(CMenuTarget* parent, const string & /*actionKey*/) languageSettings.showLanguageSetup(&osdl_setup); osdl_setup.exec(NULL, ""); + /* hack to ensure system's view of timezone is the same as neutrino's */ + CTZChangeNotifier tzn; + tzn.changeNotify(NONEXISTANT_LOCALE, (void *)"dummy"); + #if 0 if(ShowMsg (LOCALE_WIZARD_WELCOME_HEAD, g_Locale->getText(LOCALE_WIZARD_WELCOME_TEXT), CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbrCancel) == CMessageBox::mbrYes) #endif