cmmanager/cmmgr/Framework/Src/cmdesticonmap.cpp
changeset 1 40cb640ef159
parent 0 5a93021fdf25
child 26 0a9e01492035
equal deleted inserted replaced
0:5a93021fdf25 1:40cb640ef159
   231 // CCmDestinationIconMap::LoadIcons()
   231 // CCmDestinationIconMap::LoadIcons()
   232 // This actually load the all icons to be shown on dialog from icon file
   232 // This actually load the all icons to be shown on dialog from icon file
   233 // -----------------------------------------------------------------------------
   233 // -----------------------------------------------------------------------------
   234 //
   234 //
   235 void CCmDestinationIconMap::LoadIconL()
   235 void CCmDestinationIconMap::LoadIconL()
   236     {
   236     { 
   237     if ( iConsArray )
   237     iConsArray->ResetAndDestroy();
   238         {
       
   239         iConsArray->ResetAndDestroy();
       
   240         }
       
   241     // Draw all the Icons.
   238     // Draw all the Icons.
   242     TParse mbmFile;
   239     TParse mbmFile;
   243     User::LeaveIfError( mbmFile.Set( KManagerIconFilename, 
   240     User::LeaveIfError( mbmFile.Set( KManagerIconFilename, 
   244                                      &KDC_APP_BITMAP_DIR, NULL ) );
   241                                      &KDC_APP_BITMAP_DIR, NULL ) );
   245         
   242