From 50e42bffa16728f1b663e37a76db6293cc00b122 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 9 Oct 2018 09:07:04 +0200 Subject: 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 --- core/divesite.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'core') 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); -- cgit v1.2.3-70-g09d2