diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-01-24 12:18:15 +0100 |
---|---|---|
committer | Aapo Keskimolo <aapo.keskimolo@qt.io> | 2019-01-24 20:31:41 +0000 |
commit | 7511697efe31f57d66f77729413f05d6dafc0059 (patch) | |
tree | 110021d16e19df635b332edf09f48b15763b1ee5 /src/widgets/styles | |
parent | c907becbf166593c1b6b21e92eef032fefe48aba (diff) |
testlib: Format durations using C locale
XML expects '.' as the decimal separator, but when using normal
%f formatting we end up depending on the user's current locale.
By using QString::number() we tap into qt_doubleToAscii which
forces the use of the C locale, giving predictable output.
Fixes: QTBUG-73227
Change-Id: I04d1adae2ef079442605e962007e5ce3fce896b7
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/widgets/styles')
0 files changed, 0 insertions, 0 deletions