summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets
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/tab-widgets
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/tab-widgets')
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp
index ba9a21824..2d4ba6403 100644
--- a/desktop-widgets/tab-widgets/maintab.cpp
+++ b/desktop-widgets/tab-widgets/maintab.cpp
@@ -458,7 +458,7 @@ void MainTab::updateDiveInfo(bool clear)
if (ds) {
ui.location->setCurrentDiveSiteUuid(ds->uuid);
- ui.locationTags->setText(constructLocationTags(ds->uuid));
+ ui.locationTags->setText(constructLocationTags(ds));
} else {
ui.location->clear();
clear_dive_site(&displayed_dive_site);