mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: move constructLocationTags from divesite.cpp to taxonomy.cpp
After all it doesn't access any dive_site structure. Moreover, rename it, since we use mostly snake_case in core. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
7d7766be9a
commit
4ac2486a23
6 changed files with 55 additions and 55 deletions
|
|
@ -57,7 +57,6 @@ public:
|
|||
|
||||
struct dive_site *unregister_dive_from_dive_site(struct dive *d);
|
||||
struct dive_site *get_same_dive_site(const struct dive_site &); // accesses global dive list
|
||||
std::string constructLocationTags(const taxonomy_data &taxonomy, bool for_maintab);
|
||||
|
||||
/* Make pointer-to-dive_site a "Qt metatype" so that we can pass it through QVariants */
|
||||
Q_DECLARE_METATYPE(dive_site *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue