summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-11 21:59:21 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-11 21:59:21 -0700
commite1ae7ebab2d39cb726d4afcff71b5586a0d6fc65 (patch)
treef7ca8e54700d1efb0a546332b8c5b35ba4cf4c45 /qt-ui/models.h
parent236ff5c89da90e840acc0becf8efae41fc5b6282 (diff)
downloadsubsurface-e1ae7ebab2d39cb726d4afcff71b5586a0d6fc65.tar.gz
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>
Diffstat (limited to 'qt-ui/models.h')
-rw-r--r--qt-ui/models.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/models.h b/qt-ui/models.h
index 0eca7c1b4..aa314f119 100644
--- a/qt-ui/models.h
+++ b/qt-ui/models.h
@@ -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;