mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-24 03:35:54 +01:00
Code cleanup
This commit is contained in:
parent
9772c2f67f
commit
7684f4fdcf
@ -113,7 +113,5 @@ PBF::PBF(const vector_tile::Tile &tile)
|
|||||||
|
|
||||||
PBF::~PBF()
|
PBF::~PBF()
|
||||||
{
|
{
|
||||||
for (QHash<QString, Layer*>::iterator it = _layers.begin();
|
qDeleteAll(_layers);
|
||||||
it != _layers.end(); it++)
|
|
||||||
delete *it;
|
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,7 @@
|
|||||||
|
|
||||||
Text::~Text()
|
Text::~Text()
|
||||||
{
|
{
|
||||||
for (int i = 0; i < _items.size(); i++)
|
qDeleteAll(_items);
|
||||||
delete _items[i];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Text::render(QPainter *painter) const
|
void Text::render(QPainter *painter) const
|
||||||
|
Loading…
Reference in New Issue
Block a user