calendarui/controller/src/calentoolbarimpl.cpp
branchRCL_3
changeset 60 96907930389d
parent 36 9c5b1510919f
child 67 1539a383d7b6
equal deleted inserted replaced
59:aba12c885d83 60:96907930389d
   121     if( button )
   121     if( button )
   122         {
   122         {
   123         CAknButtonState* state = button->State();  // get current button state, not own
   123         CAknButtonState* state = button->State();  // get current button state, not own
   124         state->SetIcon( aIcon );
   124         state->SetIcon( aIcon );
   125         }
   125         }
       
   126 	else
       
   127 		{
       
   128 		delete aIcon;
       
   129 		}
   126     iCalenToolbar->DrawDeferred();
   130     iCalenToolbar->DrawDeferred();
   127     TRACE_EXIT_POINT;
   131     TRACE_EXIT_POINT;
   128     }
   132     }
   129 
   133 
   130 // ---------------------------------------------------------------------------
   134 // ---------------------------------------------------------------------------