diff options
| author | 2019-12-12 20:01:38 +0100 | |
|---|---|---|
| committer | 2019-12-24 06:30:57 +0900 | |
| commit | f291e5e2d8bed582be989b22ae5ff8635db5f28f (patch) | |
| tree | 71c1600236dae51fee8f307ba0eccb295e54b635 /desktop-widgets/diveshareexportdialog.ui | |
| parent | 0c23e005ea421af415e124fff29c24a908b51ea3 (diff) | |
| download | subsurface-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/diveshareexportdialog.ui')
0 files changed, 0 insertions, 0 deletions