summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/locationinformation.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-02 23:09:09 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-04 08:05:09 -0700
commited78aeade0b8b5554f082a8a010aef5f0c2a1916 (patch)
treebf527b228f61bcb2dbee4d682e517ef8e34bd115 /desktop-widgets/locationinformation.cpp
parentb96633d3e919d4818070a3681ebabad8236a0692 (diff)
downloadsubsurface-ed78aeade0b8b5554f082a8a010aef5f0c2a1916.tar.gz
Change the signature of constructLocationTags
We actually want to be able to pass a specific divesite structure and not have it look that up by uuid. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/locationinformation.cpp')
-rw-r--r--desktop-widgets/locationinformation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp
index 065f249f1..50378e2db 100644
--- a/desktop-widgets/locationinformation.cpp
+++ b/desktop-widgets/locationinformation.cpp
@@ -114,7 +114,7 @@ void LocationInformationWidget::updateLabels()
ui.diveSiteCoordinates->clear();
}
- ui.locationTags->setText(constructLocationTags(displayed_dive_site.uuid));
+ ui.locationTags->setText(constructLocationTags(&displayed_dive_site));
emit startFilterDiveSite(displayed_dive_site.uuid);
emit startEditDiveSite(displayed_dive_site.uuid);