summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-25 21:36:30 +0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-25 21:41:58 +0800
commit7f3efbdc98deeb4e4bcd481335761b6439b9552c (patch)
tree429daf20fa70a9148a4253914e705d444ea58bf8 /helpers.h
parent65c5d6815cf7c78231abd76440bb5bab54d9d51c (diff)
downloadsubsurface-7f3efbdc98deeb4e4bcd481335761b6439b9552c.tar.gz
Make gas mod be reasonable for users of imperial units as well
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/helpers.h b/helpers.h
index 392dcb5ac..4d9684e9c 100644
--- a/helpers.h
+++ b/helpers.h
@@ -35,8 +35,6 @@ QString get_trip_date_string(timestamp_t when, int nr);
QString uiLanguage(QLocale *callerLoc);
void selectedDivesGasUsed(QVector<QPair<QString, int> > &gasUsed);
-#define M_OR_FT(_m, _f) ((prefs.units.length == units::METERS) ? ((_m) * 1000) : (feet_to_mm(_f)))
-
#if defined __APPLE__
#define TITLE_OR_TEXT(_t, _m) "", _t + "\n" + _m
#else