Cleanup: remove GpsLocation::hasInstance()

This function was not used anywhere.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-09-22 13:51:16 +02:00 committed by Dirk Hohndel
parent c1aa686f9c
commit f20d6187f0
2 changed files with 0 additions and 6 deletions

View file

@ -44,11 +44,6 @@ GpsLocation *GpsLocation::instance()
return m_Instance; return m_Instance;
} }
bool GpsLocation::hasInstance()
{
return m_Instance != NULL;
}
GpsLocation::~GpsLocation() GpsLocation::~GpsLocation()
{ {
m_Instance = NULL; m_Instance = NULL;

View file

@ -26,7 +26,6 @@ public:
GpsLocation(void (*showMsgCB)(const char *msg), QObject *parent); GpsLocation(void (*showMsgCB)(const char *msg), QObject *parent);
~GpsLocation(); ~GpsLocation();
static GpsLocation *instance(); static GpsLocation *instance();
static bool hasInstance();
bool applyLocations(); bool applyLocations();
int getGpsNum() const; int getGpsNum() const;
bool hasLocationsSource(); bool hasLocationsSource();