mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Compile fix
This makes the desktop version compile again. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6c0259d540
commit
7b155774c5
2 changed files with 4 additions and 0 deletions
|
@ -327,6 +327,7 @@ void GpsLocation::applyLocations()
|
||||||
mark_divelist_changed(true);
|
mark_divelist_changed(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SUBSURFACE_MOBILE
|
||||||
void GpsLocation::updateModel()
|
void GpsLocation::updateModel()
|
||||||
{
|
{
|
||||||
GpsListModel *gpsListModel = GpsListModel::instance();
|
GpsListModel *gpsListModel = GpsListModel::instance();
|
||||||
|
@ -352,6 +353,7 @@ void GpsLocation::updateModel()
|
||||||
}
|
}
|
||||||
qDebug() << "added" << cnt << "gps fixes to model";
|
qDebug() << "added" << cnt << "gps fixes to model";
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void GpsLocation::clearGpsData()
|
void GpsLocation::clearGpsData()
|
||||||
{
|
{
|
||||||
|
|
|
@ -49,7 +49,9 @@ public slots:
|
||||||
void downloadFromServer();
|
void downloadFromServer();
|
||||||
void postError(QNetworkReply::NetworkError error);
|
void postError(QNetworkReply::NetworkError error);
|
||||||
void getUseridError(QNetworkReply::NetworkError error);
|
void getUseridError(QNetworkReply::NetworkError error);
|
||||||
|
#ifdef SUBSURFACE_MOBILE
|
||||||
void updateModel();
|
void updateModel();
|
||||||
|
#endif
|
||||||
void clearGpsData();
|
void clearGpsData();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue