mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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;
|
||||
}
|
||||
|
||||
bool GpsLocation::hasInstance()
|
||||
{
|
||||
return m_Instance != NULL;
|
||||
}
|
||||
|
||||
GpsLocation::~GpsLocation()
|
||||
{
|
||||
m_Instance = NULL;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue