diff options
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index d4b8e32cb..c605d01c8 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -127,9 +127,9 @@ QString DiveObjectHelper::gps_decimal() const return val; } -QVariant DiveObjectHelper::dive_site_uuid() const +QVariant DiveObjectHelper::dive_site() const { - return QVariant::fromValue(m_dive->dive_site_uuid); + return QVariant::fromValue((void *)get_dive_site_by_uuid(m_dive->dive_site_uuid)); } QString DiveObjectHelper::duration() const |