equal
deleted
inserted
replaced
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include "fotafullscreendialog.h" |
18 #include "fotafullscreendialog.h" |
19 |
19 |
|
20 #include <hbparameterlengthlimiter.h> |
20 #include <HbAction.h> |
21 #include <HbAction.h> |
21 #include <hbprogressbar.h> |
22 #include <hbprogressbar.h> |
22 #include <hbicon.h> |
23 #include <hbicon.h> |
23 #include <hbextendedlocale.h> |
24 #include <hbextendedlocale.h> |
24 #include <hbtranslator.h> |
25 #include <hbtranslator.h> |
159 |
160 |
160 if (sizeKB > 1024) |
161 if (sizeKB > 1024) |
161 { |
162 { |
162 TReal sizeMB = sizeKB / 1024; |
163 TReal sizeMB = sizeKB / 1024; |
163 Math::Round(sizeRounded,sizeMB,2); |
164 Math::Round(sizeRounded,sizeMB,2); |
164 content = hbTrId("txt_device_update_info_new_device_software_availab_Mb") .arg(aName) .arg(version).arg(sizeRounded); |
165 content = HbParameterLengthLimiter("txt_device_update_info_new_device_software_availab_Mb").arg(aName).arg(version).arg(sizeRounded); |
165 } |
166 } |
166 else |
167 else |
167 { |
168 { |
168 Math::Round(sizeRounded,sizeKB,2); |
169 Math::Round(sizeRounded,sizeKB,2); |
169 content = hbTrId("txt_device_update_info_new_device_software_availab_Kb") .arg(aName) .arg(version).arg(sizeRounded); |
170 content = HbParameterLengthLimiter("txt_device_update_info_new_device_software_availab_Kb").arg(aName).arg(version).arg(sizeRounded); |
170 } |
171 } |
171 |
172 |
172 m_SwDetails->setPlainText(content); |
173 m_SwDetails->setPlainText(content); |
173 FLOG(_L("HbFotaFullscreenDialog::RefreshDialog <<")); |
174 FLOG(_L("HbFotaFullscreenDialog::RefreshDialog <<")); |
174 } |
175 } |