contentstorage/casoftwareregistry/s60/src/casoftwareregistry_p.cpp
changeset 125 26079c1bb561
parent 119 50e220be30d1
child 127 7b66bc3c6dc9
equal deleted inserted replaced
123:d1dadafc5584 125:26079c1bb561
   291 
   291 
   292     detailMap[CaSoftwareRegistry::componentVendorKey()] =
   292     detailMap[CaSoftwareRegistry::componentVendorKey()] =
   293         XQConversions::s60DescToQString(entry.Vendor());
   293         XQConversions::s60DescToQString(entry.Vendor());
   294 
   294 
   295     QString drives;
   295     QString drives;
   296     QString drv;
       
   297     TChar drive;
   296     TChar drive;
   298 
   297 
   299     const TInt driveListLen(entry.InstalledDrives().Length());
   298     const TInt driveListLen(entry.InstalledDrives().Length());
   300     for (TInt i( 0 ); i < driveListLen; ++i) {
   299     for (TInt i( 0 ); i < driveListLen; ++i) {
   301         if (entry.InstalledDrives()[i] != '\0') {
   300         if (entry.InstalledDrives()[i] != '\0') {
   302 
   301 
   303             if (!drives.isEmpty()) {
   302             if (!drives.isEmpty()) {
   304                 drives = drives.append(",");
   303                 drives = drives.append("\n");
   305             }
   304             }
   306             drv = QString(QChar('A'+ i)).append(":");
       
   307             if (DriveInfo::GetDefaultDrive(
   305             if (DriveInfo::GetDefaultDrive(
   308                     DriveInfo::EDefaultPhoneMemory, drive ) == KErrNone
   306                     DriveInfo::EDefaultPhoneMemory, drive ) == KErrNone
   309                     && QChar('A'+ i) == QChar(drive)) {
   307                     && QChar('A'+ i) == QChar(drive)) {
   310                 drives = drives.append(HbParameterLengthLimiter(
   308                 drives = drives.append(HbParameterLengthLimiter(
   311                         "txt_applib_dialog_1_device_memory").arg(
   309                         "txt_applib_dialog_1_device_memory").arg(