mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
c1aa686f9c
commit
f20d6187f0
2 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue