summaryrefslogtreecommitdiffstats
path: root/subsurface-core/gpslocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/gpslocation.cpp')
-rw-r--r--subsurface-core/gpslocation.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/subsurface-core/gpslocation.cpp b/subsurface-core/gpslocation.cpp
index 9019f59c7..6106dd358 100644
--- a/subsurface-core/gpslocation.cpp
+++ b/subsurface-core/gpslocation.cpp
@@ -1,4 +1,5 @@
#include "gpslocation.h"
+#include "gpslistmodel.h"
#include "pref.h"
#include "dive.h"
#include "helpers.h"
@@ -195,12 +196,6 @@ int GpsLocation::getGpsNum() const
return geoSettings->value("count", 0).toInt();
}
-struct gpsTracker {
- degrees_t latitude;
- degrees_t longitude;
- time_t when;
-};
-
static void copy_gps_location(struct gpsTracker *gps, struct dive *d)
{
struct dive_site *ds = get_dive_site_by_uuid(d->dive_site_uuid);