Skip to content

Commit

Permalink
TiledBuffer: Remove unused signals
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStevns committed Sep 29, 2023
1 parent f3501ca commit ad0afdf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 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,15 +151,12 @@ void TiledBuffer::clear()
Tile* tile = i.value();
if (tile)
{
emit tileCleared(this, tile);
mTiles.remove(i.key());
delete tile;
}
}

mTileBounds = BlitRect();

emit bufferCleared(this);
}

QPoint TiledBuffer::getTilePos(const TileIndex& index) const
Expand Down
2 changes: 0 additions & 2 deletions core_lib/src/graphics/bitmap/tiledbuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ class TiledBuffer: public QObject
signals:
void tileUpdated(TiledBuffer* tiledBuffer, Tile* tile);
void tileCreated(TiledBuffer* tiledBuffer, Tile* tile);
void tileCleared(TiledBuffer* tiledBuffer, Tile* tile);
void bufferCleared(TiledBuffer* tiledBuffer);

private:

Expand Down

0 comments on commit ad0afdf

Please sign in to comment.