diff options
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index e71b0764e..fc406d600 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -321,6 +321,11 @@ int DiveObjectHelper::rating() const return m_dive->rating; } +int DiveObjectHelper::visibility() const +{ + return m_dive->visibility; +} + QString DiveObjectHelper::sumWeight() const { weight_t sum = { 0 }; |