calendarui/controller/src/calentoolbarimpl.cpp
branchRCL_3
changeset 28 96907930389d
parent 20 9c5b1510919f
equal deleted inserted replaced
27:aba12c885d83 28: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 // ---------------------------------------------------------------------------