aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/diveobjecthelper.cpp
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2020-12-11 17:31:04 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2020-12-12 16:37:29 +0100
commite7a18456c90f80433b6a6306dfdbd3b7bf016b76 (patch)
tree5d145155471c555331684415f35ef10566605968 /core/subsurface-qt/diveobjecthelper.cpp
parent11eec0a503df9df5619a294c2769437c4fee36ea (diff)
downloadsubsurface-e7a18456c90f80433b6a6306dfdbd3b7bf016b76.tar.gz
Add surge etc to printing template variables
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/subsurface-qt/diveobjecthelper.cpp')
-rw-r--r--core/subsurface-qt/diveobjecthelper.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/subsurface-qt/diveobjecthelper.cpp b/core/subsurface-qt/diveobjecthelper.cpp
index bbf51ed12..1df949b0f 100644
--- a/core/subsurface-qt/diveobjecthelper.cpp
+++ b/core/subsurface-qt/diveobjecthelper.cpp
@@ -270,6 +270,10 @@ DiveObjectHelper::DiveObjectHelper(const struct dive *d) :
id(d->id),
rating(d->rating),
visibility(d->visibility),
+ wavesize(d->wavesize),
+ current(d->current),
+ surge(d->surge),
+ chill(d->chill),
timestamp(d->when),
location(get_dive_location(d) ? QString::fromUtf8(get_dive_location(d)) : QString()),
gps(d->dive_site ? printGPSCoords(&d->dive_site->location) : QString()),