contentstorage/casoftwareregistry/s60/src/casoftwareregistry_p.cpp
changeset 99 7aaf39b772ac
parent 98 d2f833ab7940
child 102 8b8b34fa9751
child 109 e0aa398e6810
--- a/contentstorage/casoftwareregistry/s60/src/casoftwareregistry_p.cpp	Fri Jun 11 16:13:51 2010 +0300
+++ b/contentstorage/casoftwareregistry/s60/src/casoftwareregistry_p.cpp	Thu Jun 24 16:18:29 2010 +0300
@@ -262,7 +262,7 @@
                 {
                 drives = drives.append(
                         HbParameterLengthLimiter("txt_applib_dialog_1_device_memory").arg(
-                          QString(QChar('A'+ i)).append(":")));
+                          QString(QChar('A'+ i))));
                 }
             else if(DriveInfo::GetDefaultDrive(
                     DriveInfo::EDefaultMassStorage, drive ) == KErrNone 
@@ -270,7 +270,7 @@
                 {
                 drives = drives.append(
                         HbParameterLengthLimiter("txt_applib_dialog_1_mass_storage").arg(
-                          QString(QChar('A'+ i)).append(":")));
+                          QString(QChar('A'+ i))));
                 }
             else if(DriveInfo::GetDefaultDrive(
                     DriveInfo::EDefaultRemovableMassStorage, drive ) == KErrNone 
@@ -287,13 +287,13 @@
                     if(tv.iName.Length()) { 
                         drives = drives.append(
                                 HbParameterLengthLimiter("txt_applib_dialog_1_2").arg(
-                                   QString(QChar('A'+ i)).append(":")).arg(
+                                   QString(QChar('A'+ i))).arg(
                                            XQConversions::s60DescToQString(tv.iName)));                       
                     }
                     else {
                         drives = drives.append(
                             HbParameterLengthLimiter("txt_applib_dialog_1_memory_card").arg(
-                              QString(QChar('A'+ i)).append(":")));           
+                              QString(QChar('A'+ i))));           
                     }
                 }
             } else {
@@ -309,13 +309,13 @@
     static const TInt64 KMega = KKilo * KKilo;
     if(entry.ComponentSize() >= KMega) {
         detailMap[CaSoftwareRegistry::componentSizeKey()] = 
-            HbParameterLengthLimiter("txt_applib_dialog_l1_mb").arg(QString().setNum(
-                    static_cast<double>(entry.ComponentSize() / KMega)));
+            HbParameterLengthLimiter("txt_applib_dialog_l1_mb").arg(
+                    static_cast<double>(entry.ComponentSize() / KMega));
     }
     else {
         detailMap[CaSoftwareRegistry::componentSizeKey()] = 
-            HbParameterLengthLimiter("txt_applib_dialog_l1_kb").arg(QString().setNum(
-                    static_cast<double>(entry.ComponentSize() / KKilo)));
+            HbParameterLengthLimiter("txt_applib_dialog_l1_kb").arg(
+                    static_cast<double>(entry.ComponentSize() / KKilo));
     }