diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-09-22 13:51:16 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-09-25 13:35:30 -0700 |
commit | f20d6187f0135ef3cf7f583785be65012336a99d (patch) | |
tree | 444a3b61e9c58ce0430a6bd40d904a30fa2c3a11 | |
parent | c1aa686f9c24c8543e95bf3a77a0f111b8b98dc9 (diff) | |
download | subsurface-f20d6187f0135ef3cf7f583785be65012336a99d.tar.gz |
Cleanup: remove GpsLocation::hasInstance()
This function was not used anywhere.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | core/gpslocation.cpp | 5 | ||||
-rw-r--r-- | core/gpslocation.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/core/gpslocation.cpp b/core/gpslocation.cpp index c5b81e024..faed55ad7 100644 --- a/core/gpslocation.cpp +++ b/core/gpslocation.cpp @@ -44,11 +44,6 @@ GpsLocation *GpsLocation::instance() return m_Instance; } -bool GpsLocation::hasInstance() -{ - return m_Instance != NULL; -} - GpsLocation::~GpsLocation() { m_Instance = NULL; diff --git a/core/gpslocation.h b/core/gpslocation.h index 02377bfca..f328c5616 100644 --- a/core/gpslocation.h +++ b/core/gpslocation.h @@ -26,7 +26,6 @@ public: GpsLocation(void (*showMsgCB)(const char *msg), QObject *parent); ~GpsLocation(); static GpsLocation *instance(); - static bool hasInstance(); bool applyLocations(); int getGpsNum() const; bool hasLocationsSource(); |