1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +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
{
public:
GPX() : _parser(_tracks, _waypoints) {}
GPX() : _parser(_tracks, _waypoints), _errorLine(0) {}
bool loadFile(const QString &fileName);
const QString &errorString() const {return _error;}
int errorLine() const {return _errorLine;}

View File

@ -11,6 +11,7 @@
class POI
{
public:
POI() : _errorLine(0) {}
bool loadFile(const QString &fileName);
QString errorString() const {return _error;}
int errorLine() const {return _errorLine;}