1
0
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:
Martin Tůma 2016-03-02 09:15:03 +01:00
parent 7d749dfe5b
commit 70238062f2
2 changed files with 2 additions and 1 deletions

View File

@ -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;}

View File

@ -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;}