mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Added missing initializations
This commit is contained in:
parent
7d749dfe5b
commit
70238062f2
@ -12,7 +12,7 @@
|
|||||||
class GPX
|
class GPX
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
GPX() : _parser(_tracks, _waypoints) {}
|
GPX() : _parser(_tracks, _waypoints), _errorLine(0) {}
|
||||||
bool loadFile(const QString &fileName);
|
bool loadFile(const QString &fileName);
|
||||||
const QString &errorString() const {return _error;}
|
const QString &errorString() const {return _error;}
|
||||||
int errorLine() const {return _errorLine;}
|
int errorLine() const {return _errorLine;}
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
class POI
|
class POI
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
POI() : _errorLine(0) {}
|
||||||
bool loadFile(const QString &fileName);
|
bool loadFile(const QString &fileName);
|
||||||
QString errorString() const {return _error;}
|
QString errorString() const {return _error;}
|
||||||
int errorLine() const {return _errorLine;}
|
int errorLine() const {return _errorLine;}
|
||||||
|
Loading…
Reference in New Issue
Block a user