From 7b155774c5105f84303e869317fc946b11b3e78b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 7 Jan 2016 22:43:13 -0800 Subject: Compile fix This makes the desktop version compile again. Signed-off-by: Dirk Hohndel --- subsurface-core/gpslocation.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'subsurface-core/gpslocation.cpp') diff --git a/subsurface-core/gpslocation.cpp b/subsurface-core/gpslocation.cpp index b4f5b887c..59cd97900 100644 --- a/subsurface-core/gpslocation.cpp +++ b/subsurface-core/gpslocation.cpp @@ -327,6 +327,7 @@ void GpsLocation::applyLocations() mark_divelist_changed(true); } +#ifdef SUBSURFACE_MOBILE void GpsLocation::updateModel() { GpsListModel *gpsListModel = GpsListModel::instance(); @@ -352,6 +353,7 @@ void GpsLocation::updateModel() } qDebug() << "added" << cnt << "gps fixes to model"; } +#endif void GpsLocation::clearGpsData() { -- cgit v1.2.3-70-g09d2