CInfoClock: Fix segfault at 'standby mode after boot'

- Initialize InfoClock before standby mode


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3266287253
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-23 (Mon, 23 Dec 2013)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2013-12-23 23:23:16 +01:00
parent 0087a5bbe6
commit dc003a9bac

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 ) {