summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-12 20:01:38 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-24 06:30:57 +0900
commitf291e5e2d8bed582be989b22ae5ff8635db5f28f (patch)
tree71c1600236dae51fee8f307ba0eccb295e54b635 /desktop-widgets
parent0c23e005ea421af415e124fff29c24a908b51ea3 (diff)
downloadsubsurface-f291e5e2d8bed582be989b22ae5ff8635db5f28f.tar.gz
core: add convert between meter/feet to plannerShared
qPrefDiveplanner contains settings for ascent and descent in a neutral format. diveplanner desktop uses a macro UNIT_FACTOR to convert between UI values and qPref values. In order not to dublicate these calculation (in C++ and QML) a set of shared functions are made. The functions are identical to the calculations in diveplanner desktop. Signed-off-by: Jan Iversen <jan@casacondor.com>
Diffstat (limited to 'desktop-widgets')
0 files changed, 0 insertions, 0 deletions