diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-10-02 23:09:09 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-04 08:05:09 -0700 |
commit | ed78aeade0b8b5554f082a8a010aef5f0c2a1916 (patch) | |
tree | bf527b228f61bcb2dbee4d682e517ef8e34bd115 /core/divesite.cpp | |
parent | b96633d3e919d4818070a3681ebabad8236a0692 (diff) | |
download | subsurface-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 'core/divesite.cpp')
-rw-r--r-- | core/divesite.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/divesite.cpp b/core/divesite.cpp index 20e33dda1..293656c6a 100644 --- a/core/divesite.cpp +++ b/core/divesite.cpp @@ -2,10 +2,9 @@ #include "divesite.h" #include "pref.h" -QString constructLocationTags(uint32_t ds_uuid) +QString constructLocationTags(struct dive_site *ds) { QString locationTag; - struct dive_site *ds = get_dive_site_by_uuid(ds_uuid); if (!ds || !ds->taxonomy.nr) return locationTag; |