Skip to content

Commit

Permalink
Remove redundant clear of tile before deleting it
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStevns committed Aug 11, 2023
1 parent 2c3bcc1 commit 9900f70
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core_lib/src/graphics/bitmap/tiledbuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ void TiledBuffer::clear()
Tile* tile = i.value();
if (tile)
{
// Clear the content of the tile
//
tile->clear();
emit onClearTile(this, tile);
mTiles.remove(i.key());
delete tile;
Expand Down

0 comments on commit 9900f70

Please sign in to comment.