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;
}
bool GpsLocation::hasInstance()
{
return m_Instance != NULL;
}
GpsLocation::~GpsLocation()
{
m_Instance = NULL;

View file

@ -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();