summaryrefslogtreecommitdiffstats
path: root/core/divesite.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-09 09:07:04 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-09 21:00:44 -0700
commit50e42bffa16728f1b663e37a76db6293cc00b122 (patch)
treee9774bce51aaa8e2e083b7995fdd35483ba566ea /core/divesite.h
parent65ca3444f5429c5189e53c3a83d799e7b37b38aa (diff)
downloadsubsurface-50e42bffa16728f1b663e37a76db6293cc00b122.tar.gz
Dive sites: don't add dummy entries to LocationInformationModel
The LocationInformationModel added two dummy sites to the front of the list (add new dive site). This was never used - desktop uses its own model, mobile only extracts the list of dive site names with a custom function. Remove this functionality. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/divesite.h')
-rw-r--r--core/divesite.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/divesite.h b/core/divesite.h
index 9f6b8f527..5b6943c73 100644
--- a/core/divesite.h
+++ b/core/divesite.h
@@ -73,8 +73,6 @@ unsigned int get_distance(degrees_t lat1, degrees_t lon1, degrees_t lat2, degree
uint32_t find_or_create_dive_site_with_name(const char *name, timestamp_t divetime);
void merge_dive_sites(uint32_t ref, uint32_t *uuids, int count);
-#define INVALID_DIVE_SITE_NAME "development use only - not a valid dive site name"
-
#ifdef __cplusplus
}
QString constructLocationTags(struct dive_site *ds, bool for_maintab);