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()
|
||||
{
|
||||
for (QHash<QString, Layer*>::iterator it = _layers.begin();
|
||||
it != _layers.end(); it++)
|
||||
delete *it;
|
||||
qDeleteAll(_layers);
|
||||
}
|
||||
|
@ -9,8 +9,7 @@
|
||||
|
||||
Text::~Text()
|
||||
{
|
||||
for (int i = 0; i < _items.size(); i++)
|
||||
delete _items[i];
|
||||
qDeleteAll(_items);
|
||||
}
|
||||
|
||||
void Text::render(QPainter *painter) const
|
||||
|
Loading…
Reference in New Issue
Block a user