mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-28 17:34:23 +02:00
Added recursive POI dir searching to be consistent with map dir searching
This commit is contained in:
@ -18,7 +18,8 @@ class POI : public QObject
|
||||
public:
|
||||
POI(QObject *parent = 0);
|
||||
|
||||
bool loadFile(const QString &fileName);
|
||||
bool loadFile(const QString &path);
|
||||
bool loadDir(const QString &path);
|
||||
const QString &errorString() const {return _errorString;}
|
||||
int errorLine() const {return _errorLine;}
|
||||
|
||||
@ -43,6 +44,8 @@ private:
|
||||
bool enabled;
|
||||
};
|
||||
|
||||
bool loadFile(const QString &path, bool dir);
|
||||
|
||||
POITree _tree;
|
||||
QVector<Waypoint> _data;
|
||||
QStringList _files;
|
||||
|
Reference in New Issue
Block a user