mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup[4/6], mobile: remove superfluous code from gpslocation
Despite the fast that this code is sitting in core, its used mainly
from mobile. In 987e221f8e, the buttons to interact with the GPS
webservice were deleted from the UI. Now, delete all the code that
was used under these buttons.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
cc72a606bb
commit
bb0ac5f778
4 changed files with 1 additions and 252 deletions
|
|
@ -30,7 +30,6 @@ public:
|
|||
static bool hasInstance();
|
||||
bool applyLocations();
|
||||
int getGpsNum() const;
|
||||
QString getUserid(QString user, QString passwd);
|
||||
bool hasLocationsSource();
|
||||
QString currentPosition();
|
||||
void setGpsTimeThreshold(int seconds);
|
||||
|
|
@ -66,10 +65,7 @@ public slots:
|
|||
void newPosition(QGeoPositionInfo pos);
|
||||
void updateTimeout();
|
||||
void positionSourceError(QGeoPositionInfoSource::Error error);
|
||||
void uploadToServer();
|
||||
void downloadFromServer();
|
||||
void postError(QNetworkReply::NetworkError error);
|
||||
void getUseridError(QNetworkReply::NetworkError error);
|
||||
#ifdef SUBSURFACE_MOBILE
|
||||
void clearGpsData();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue