diff options
author | Guoqing Zhang <guoqing.zhang@nokia.com> | 2011-03-16 11:10:42 (GMT) |
---|---|---|
committer | Guoqing Zhang <guoqing.zhang@nokia.com> | 2011-03-16 11:10:42 (GMT) |
commit | 82198dd1f7049cec89271b0ea82521752cc13c05 (patch) | |
tree | 88f9249e77613e930bab86d91fc07f0af73780fb /src/plugins/s60 | |
parent | 8731cb8b852eaa638a64c8a6301ba577f2b735ac (diff) | |
download | Qt-82198dd1f7049cec89271b0ea82521752cc13c05.zip Qt-82198dd1f7049cec89271b0ea82521752cc13c05.tar.gz Qt-82198dd1f7049cec89271b0ea82521752cc13c05.tar.bz2 |
Add digit conversion in default format function
Task-number: QTBUG-17993
Reviewed-by: Laszlo Agocs
Diffstat (limited to 'src/plugins/s60')
-rw-r--r-- | src/plugins/s60/3_2/3_2.pro | 1 | ||||
-rw-r--r-- | src/plugins/s60/5_0/5_0.pro | 1 | ||||
-rw-r--r-- | src/plugins/s60/src/qlocale_3_2.cpp | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/s60/3_2/3_2.pro b/src/plugins/s60/3_2/3_2.pro index 0524866..b104c05 100644 --- a/src/plugins/s60/3_2/3_2.pro +++ b/src/plugins/s60/3_2/3_2.pro @@ -16,6 +16,7 @@ contains(S60_VERSION, 3.1) { LIBS += -lDirectoryLocalizer } LIBS += -lefsrv + LIBS += -lnumberconversion INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE } diff --git a/src/plugins/s60/5_0/5_0.pro b/src/plugins/s60/5_0/5_0.pro index 00aea1b..b037215 100644 --- a/src/plugins/s60/5_0/5_0.pro +++ b/src/plugins/s60/5_0/5_0.pro @@ -16,6 +16,7 @@ contains(S60_VERSION, 3.1) { LIBS += -lDirectoryLocalizer } LIBS += -lefsrv + LIBS += -lnumberconversion INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE } diff --git a/src/plugins/s60/src/qlocale_3_2.cpp b/src/plugins/s60/src/qlocale_3_2.cpp index 8c0edd2..ab5d304 100644 --- a/src/plugins/s60/src/qlocale_3_2.cpp +++ b/src/plugins/s60/src/qlocale_3_2.cpp @@ -42,6 +42,7 @@ #include <exception> #include <e32std.h> #include <e32base.h> +#include <NumberConversion.h> EXPORT_C TPtrC defaultGetLongDateFormatSpec(TExtendedLocale& locale) { @@ -61,4 +62,5 @@ EXPORT_C TPtrC defaultGetTimeFormatSpec(TExtendedLocale& locale) EXPORT_C void defaultFormatL(TTime& time, TDes& des, const TDesC& format, const TLocale& locale) { time.FormatL(des, format, locale); + NumberConversion::ConvertDigits(des, locale.DigitType()); } |