filedetails/filedetailsdialog/src/MPFileDetailsDialog.cpp
branchRCL_3
changeset 8 ce5ada96ab30
parent 1 6711b85517b7
child 9 5294c000a26d
equal deleted inserted replaced
6:7d91903f795f 8:ce5ada96ab30
    13 *
    13 *
    14 * Description:   Implementation of the CMPFileDetailsDialog.*
    14 * Description:   Implementation of the CMPFileDetailsDialog.*
    15 */
    15 */
    16 
    16 
    17 
    17 
    18 // Version : %version: 18 %
    18 // Version : %version: 19 %
    19 
    19 
    20 // INCLUDE FILES
    20 // INCLUDE FILES
    21 #include <aknlists.h>
    21 #include <aknlists.h>
    22 #include <bautils.h>
    22 #include <bautils.h>
    23 #include <StringLoader.h>
    23 #include <StringLoader.h>
   152     MPX_ENTER_EXIT(_L("CMPFileDetailsDialog::~CMPFileDetailsDialog()"));
   152     MPX_ENTER_EXIT(_L("CMPFileDetailsDialog::~CMPFileDetailsDialog()"));
   153     if( iPopupList )
   153     if( iPopupList )
   154         {
   154         {
   155         iPopupList->CancelPopup();
   155         iPopupList->CancelPopup();
   156         }
   156         }
   157 
   157     delete iPopupList;  // cause removal from control stack
   158     delete iListBox;
   158     delete iListBox;
   159     delete iGenres;
   159     delete iGenres;
   160     UnLoadResources();
   160     UnLoadResources();
   161 }
   161 }
   162 
   162 
   512 
   512 
   513 	//explicitly cancel the Popup if it's not terminated properly
   513 	//explicitly cancel the Popup if it's not terminated properly
   514     if ( err && iPopupList )
   514     if ( err && iPopupList )
   515     {
   515     {
   516         iPopupList->CancelPopup();
   516         iPopupList->CancelPopup();
   517         iPopupList = NULL;
       
   518     }
   517     }
   519 
   518 
   520     delete this;
   519     delete this;
   521 }
   520 }
   522 
   521