summaryrefslogtreecommitdiffstats
path: root/core/gpslocation.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-09-22 15:05:14 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-25 13:35:30 -0700
commit400b218f769320221567b7b66f39c33126a7d2e1 (patch)
treeeaeaed24b664fe54a3004b43f8550cda80b85805 /core/gpslocation.h
parent4d3686edec2a7bca03223df8800b14928a076fc9 (diff)
downloadsubsurface-400b218f769320221567b7b66f39c33126a7d2e1.tar.gz
Cleanup: remove GpsLocation::instance() function
The last user was removed in 8576edd8d611f06fcbd452d88bbc3d46c39d1b9f. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/gpslocation.h')
-rw-r--r--core/gpslocation.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/gpslocation.h b/core/gpslocation.h
index f328c5616..60e16e186 100644
--- a/core/gpslocation.h
+++ b/core/gpslocation.h
@@ -24,8 +24,6 @@ class GpsLocation : public QObject {
Q_OBJECT
public:
GpsLocation(void (*showMsgCB)(const char *msg), QObject *parent);
- ~GpsLocation();
- static GpsLocation *instance();
bool applyLocations();
int getGpsNum() const;
bool hasLocationsSource();
@@ -42,7 +40,6 @@ private:
QNetworkReply *reply;
QString userAgent;
void (*showMessageCB)(const char *msg);
- static GpsLocation *m_Instance;
bool waitingForPosition;
QMap<qint64, gpsTracker> m_trackers;
QList<gpsTracker> m_deletedTrackers;