coreapplicationuis/SysAp/Src/memorycard/sysapdrivelist.cpp
branchRCL_3
changeset 19 924385140d98
parent 0 2e3d3ce01487
child 20 c2c61fdca848
equal deleted inserted replaced
18:0818dd463d41 19:924385140d98
    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     
    58     TInt err( DriveInfo::GetDefaultDrive(
    60     TInt err( DriveInfo::GetDefaultDrive(
    59         DriveInfo::EDefaultRemovableMassStorage, iDefaultMemoryCard ) );
    61         DriveInfo::EDefaultRemovableMassStorage, iDefaultMemoryCard ) );
    60     if ( err != KErrNone )
    62     if ( err != KErrNone )
    61         {
    63         {
    62         err = DriveInfo::GetDefaultDrive(
    64         err = DriveInfo::GetDefaultDrive(