mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make gas mod be reasonable for users of imperial units as well
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
65c5d6815c
commit
7f3efbdc98
6 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue