diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-09-22 12:37:49 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-09-22 12:37:49 -0700 |
commit | 6ce5704435a761aeb7a8b7cb7bc9049ed3ee4ac9 (patch) | |
tree | 4d54b92c43a3b4e026ccabd6cd69bee3b4de61f2 /helpers.h | |
parent | ff58fd7dcadf5af1333e4137449812cc5ad2524b (diff) | |
download | subsurface-6ce5704435a761aeb7a8b7cb7bc9049ed3ee4ac9.tar.gz |
Support imperial measurements in dive planner / add dive
This was not as hard as I assumed it would be. I may still change the
horizontal dimension to be the more logical seconds instead of minutes,
but for now this achieves the main goal.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r-- | helpers.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,7 +11,8 @@ #include "dive.h" #include "qthelper.h" -QString get_depth_string(depth_t depth, bool showunit = false); +QString get_depth_string(depth_t depth, bool showunit = false, bool showdecimal = true); +QString get_depth_string(int mm, bool showunit = false, bool showdecimal = true); QString get_depth_unit(); QString get_weight_string(weight_t weight, bool showunit = false); QString get_weight_unit(); |