aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-08-19 10:13:45 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-08-23 13:46:22 +0000
commit8b7dbfe1e0c0d4b8d0984fb381f1a0bb6b566e76 (patch)
tree3438c6ec351cc6cadbbacdfd170affd8605e6a44 /src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
parent4f0988c3907406087dbfdc193abfbf767678d814 (diff)
V4: Correctly format on Number.toPrecision(n)
The ecmascript standard mandates that we add trailing zeroes if the given precision is greater than the number of digits available. The only way to request this from QLocale is currently QString::asprintf(), which adds a few other incompatibilities that are easier to 'fix' by editing the resulting string. Thus we use it as a stop gap measure until we can expose better API from qtbase. Task-number: QTBUG-55358 Change-Id: Iafc11f21abb341fbe458ad75b46b4222ae5bc1db Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgdefaultglyphnode_p.cpp')
0 files changed, 0 insertions, 0 deletions