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>
This commit is contained in:
Dirk Hohndel 2017-10-02 23:09:09 -07:00
parent b96633d3e9
commit ed78aeade0
4 changed files with 4 additions and 5 deletions

View file

@ -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);