summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/gpslocation.cpp5
-rw-r--r--core/gpslocation.h1
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();