Printing: print depth unit in table

When adding the method that includes the depth unit to the DiveItem class
I realized that this was yet another implementation of our depth unit
conversion. We should just call the existing helper instead.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-07-11 21:59:21 -07:00
parent 236ff5c89d
commit e1ae7ebab2
3 changed files with 9 additions and 11 deletions

View file

@ -206,6 +206,7 @@ struct DiveItem : public TreeItem {
QString displayDate() const;
QString displayDuration() const;
QString displayDepth() const;
QString displayDepthWithUnit() const;
QString displayTemperature() const;
QString displayWeight() const;
QString displaySac() const;