commonuis/CommonDialogs/src/caknmemoryselectiondialogmultidrive.cpp
branchRCL_3
changeset 10 9f56a4e1b8ab
parent 4 8ca85d2f0db7
child 25 941195f2d488
equal deleted inserted replaced
9:aabf2c525e0f 10:9f56a4e1b8ab
   113     else if( AknCFDUtility::DirectoriesOnly( iDialogType ) )
   113     else if( AknCFDUtility::DirectoriesOnly( iDialogType ) )
   114         {
   114         {
   115         layout = MAknMemorySelectionModel::ELayoutDoublePopup;
   115         layout = MAknMemorySelectionModel::ELayoutDoublePopup;
   116         }
   116         }
   117 
   117 
       
   118     // Create model of listbox listing the drives in iRootPathArray:
   118     iModel = CAknMemorySelectionModelMultiDrive::NewL(
   119     iModel = CAknMemorySelectionModelMultiDrive::NewL(
   119         iCoeEnv, &iRootPathArray, &iDefaultFolderArray,
   120         iCoeEnv, &iRootPathArray, &iDefaultFolderArray,
   120         iIncludedMedias, aShowUnavailableDrives, layout );
   121         iIncludedMedias, aShowUnavailableDrives, layout );
   121 
   122 
   122     // Create model of listbox listing the drives in iRootPathArray:
       
   123     GetSystemDrivesL( userDefinedId );
   123     GetSystemDrivesL( userDefinedId );
   124 
   124 
   125     iEventHandler = CAknMemorySelectionEventHandler::NewL(
   125     iEventHandler = CAknMemorySelectionEventHandler::NewL(
   126             iCoeEnv, iModel, NULL );
   126             iCoeEnv, iModel, NULL );
   127 
   127