mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
b96633d3e9
commit
ed78aeade0
4 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue