coreapplicationuis/SysAp/Src/memorycard/sysapdrivelist.cpp
branchRCL_3
changeset 63 c2c61fdca848
parent 62 924385140d98
equal deleted inserted replaced
62:924385140d98 63:c2c61fdca848
    53 //
    53 //
    54 void CSysApDriveList::ConstructL()
    54 void CSysApDriveList::ConstructL()
    55     {
    55     {
    56     // Get the default memory card. If memory card is unavailable,
    56     // Get the default memory card. If memory card is unavailable,
    57     // then get the next best suitable drive.
    57     // then get the next best suitable drive.
    58     iDefaultMemoryCard = 0;
       
    59     
       
    60     TInt err( DriveInfo::GetDefaultDrive(
    58     TInt err( DriveInfo::GetDefaultDrive(
    61         DriveInfo::EDefaultRemovableMassStorage, iDefaultMemoryCard ) );
    59         DriveInfo::EDefaultRemovableMassStorage, iDefaultMemoryCard ) );
    62     if ( err != KErrNone )
    60     if ( err != KErrNone )
    63         {
    61         {
    64         err = DriveInfo::GetDefaultDrive(
    62         err = DriveInfo::GetDefaultDrive(