summaryrefslogtreecommitdiffstats
path: root/gpl-2.0.txt
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-08-15 13:46:16 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-08-16 16:23:19 -0700
commit5299d8291de3b0ab2522ede6b1b7ee1e1f81f864 (patch)
tree2fc097f2ed4ebc634374dcdadb73f822be6a0ee9 /gpl-2.0.txt
parentebcfb46d8cec3adcb330cef32b4ff2f1c2d9b8a3 (diff)
downloadsubsurface-5299d8291de3b0ab2522ede6b1b7ee1e1f81f864.tar.gz
core/localized-parsing: correctly handle group and decimal separator
We are usually showing pressures with localized group separator. And we made a total mess out of things when then re-parsing those values. This caused us to ignore start and end pressures in Subsurface-mobile when those were entered in psi and included a group separator: 2,900psi was turned into 2.900psi which we then rounded to 0 mbar. This fixes the problem by asking Qt to do the right thing instead of doing stupid separator magic. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gpl-2.0.txt')
0 files changed, 0 insertions, 0 deletions