clock2/clockui/uilayer/clockworldview/src/clockworldview.cpp
branchRCL_3
changeset 27 55d60436f00b
parent 20 21239b3bcd78
child 30 d68a4b5d5885
equal deleted inserted replaced
21:9711e452b5e9 27:55d60436f00b
   631 void CClockWorldView::HandleForegroundEventL( TBool aForeground )
   631 void CClockWorldView::HandleForegroundEventL( TBool aForeground )
   632     {
   632     {
   633     
   633     
   634     if( aForeground  && iContainer )
   634     if( aForeground  && iContainer )
   635         {
   635         {
   636         RestartTimerL();
   636         if( iTimer )
       
   637             {
       
   638             RestartTimerL();
       
   639             }
   637 
   640 
   638         RClkSrvInterface clockServerClt;
   641         RClkSrvInterface clockServerClt;
   639         // Connect to clockserver
   642         // Connect to clockserver
   640         TInt errorVal( clockServerClt.Connect() );
   643         TInt errorVal( clockServerClt.Connect() );
   641         // Check if timeupdate is On.
   644         // Check if timeupdate is On.