Add surge etc to printing template variables

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2020-12-11 17:31:04 +01:00 committed by bstoeger
parent 11eec0a503
commit e7a18456c9
3 changed files with 20 additions and 0 deletions

View file

@ -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()),