diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-10-09 08:46:18 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-10-09 11:49:29 +0300 |
commit | 78cda85444a9b9ec384e19ec17686f2ce7c307ec (patch) | |
tree | 1e0e74006b7a9afdf7bd9046d1df459122c202ca /qt-models/divetripmodel.h | |
parent | 2cb5d45231b65a713cad0808badde250594b49de (diff) | |
download | subsurface-78cda85444a9b9ec384e19ec17686f2ce7c307ec.tar.gz |
Display units in dive list table based on prefs option
Add a preferences option which enables or disables display of units in the
main dive liste table.
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r-- | qt-models/divetripmodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h index 24b215129..ec9b615b0 100644 --- a/qt-models/divetripmodel.h +++ b/qt-models/divetripmodel.h @@ -38,8 +38,11 @@ public: QString displayDepth() const; QString displayDepthWithUnit() const; QString displayTemperature() const; + QString displayTemperatureWithUnit() const; QString displayWeight() const; + QString displayWeightWithUnit() const; QString displaySac() const; + QString displaySacWithUnit() const; int countPhotos(dive *dive) const; int weight() const; QString icon_names[4]; |