diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-07 22:43:13 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-07 22:43:13 -0800 |
commit | 7b155774c5105f84303e869317fc946b11b3e78b (patch) | |
tree | 7e4372ba2248a8d83204059a12116b03b6d9efd0 /subsurface-core/gpslocation.cpp | |
parent | 6c0259d5409a72163a53cdce5658183c16b97f5c (diff) | |
download | subsurface-7b155774c5105f84303e869317fc946b11b3e78b.tar.gz |
Compile fix
This makes the desktop version compile again.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/gpslocation.cpp')
-rw-r--r-- | subsurface-core/gpslocation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |