mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Added missing destructor
This commit is contained in:
parent
a56ad8a933
commit
bfcc577f64
@ -143,6 +143,12 @@ Atlas::Atlas(const QString &path, QObject *parent) : Map(parent)
|
||||
_valid = true;
|
||||
}
|
||||
|
||||
Atlas::~Atlas()
|
||||
{
|
||||
for (int i = 0; i < _maps.size(); i++)
|
||||
delete _maps.at(i);
|
||||
}
|
||||
|
||||
QRectF Atlas::bounds() const
|
||||
{
|
||||
QSizeF s(0, 0);
|
||||
|
@ -12,6 +12,7 @@ class Atlas : public Map
|
||||
|
||||
public:
|
||||
Atlas(const QString &path, QObject *parent = 0);
|
||||
~Atlas();
|
||||
|
||||
const QString &name() const {return _name;}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user