mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:03:23 +00:00
Fix column headings for divelist
This looks better and is consistent with the Gtk version. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
edab566105
commit
e156b00f05
1 changed files with 5 additions and 5 deletions
|
@ -462,12 +462,12 @@ QVariant DiveTripModel::headerData(int section, Qt::Orientation orientation, int
|
|||
break;
|
||||
case DEPTH:
|
||||
if (get_units()->length == units::METERS)
|
||||
ret = tr("Depth (m)");
|
||||
ret = tr("m");
|
||||
else
|
||||
ret = tr("Depth (ft)");
|
||||
ret = tr("ft");
|
||||
break;
|
||||
case DURATION:
|
||||
ret = tr("Duration (h:mm:ss)");
|
||||
ret = tr("min");
|
||||
break;
|
||||
case TEMPERATURE:
|
||||
if (get_units()->temperature == units::CELSIUS)
|
||||
|
@ -477,9 +477,9 @@ QVariant DiveTripModel::headerData(int section, Qt::Orientation orientation, int
|
|||
break;
|
||||
case TOTALWEIGHT:
|
||||
if (get_units()->weight == units::KG)
|
||||
ret = tr("Weight (kg)");
|
||||
ret = tr("kg");
|
||||
else
|
||||
ret = tr("Weight (lbs)");
|
||||
ret = tr("lbs");
|
||||
break;
|
||||
case SUIT:
|
||||
ret = tr("Suit");
|
||||
|
|
Loading…
Add table
Reference in a new issue