CInfoClock: Fix segfault at 'standby mode after boot'

- Initialize InfoClock before standby mode
This commit is contained in:
M. Liebmann
2013-12-23 23:23:16 +01:00
parent a0afda1c11
commit 3266287253

View File

@@ -2041,13 +2041,14 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu)
ShowMsgUTF(LOCALE_PLUGINS_RESULT, g_PluginList->getScriptOutput(), CMessageBox::mbrBack,CMessageBox::mbBack,NEUTRINO_ICON_SHELL);
}
g_RCInput->clearRCMsg();
if(g_settings.power_standby || init_cec_setting)
standbyMode(true, true);
InfoClock = CInfoClock::getInstance();
if(g_settings.mode_clock)
g_settings.mode_clock = InfoClock->StartClock();
if(g_settings.power_standby || init_cec_setting)
standbyMode(true, true);
//cCA::GetInstance()->Ready(true);
while( true ) {