equal
deleted
inserted
replaced
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( |