summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qlocale_tools.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-06 13:07:49 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-07-14 14:52:08 +0200
commit3809643093195e8750b13216ec6bf6e24d464814 (patch)
tree4a81c5cad48b40df2f6e9bbc2b9fa9f15b9d5f8a /src/corelib/text/qlocale_tools.cpp
parentcd787dbac9e789e63d81f8ab7241ca734faffb44 (diff)
Simplify qlocale_win's currency formatting
Use QLocaleData::c()'s instance method, rather than QLocaleData's static method, to format integers. This avoids the need to duplicate various arguments as literals, that the C locale provides as default. It also future-proofs against changes to the static methods. Change-Id: I5bba407cfc29e3f33d1e9fa878ddf35fff3b113c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/corelib/text/qlocale_tools.cpp')
0 files changed, 0 insertions, 0 deletions