diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-01-16 18:12:02 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-17 10:41:07 +1300 |
commit | c9499baf2225a0c0584c57b6c47eff53c40249b1 (patch) | |
tree | a838a3bd1246e5ce77caad49d5c6cdb550881956 /sha1.h | |
parent | 947010991da4b44cbbf1a2e7c63d3f6a65c41404 (diff) | |
download | subsurface-c9499baf2225a0c0584c57b6c47eff53c40249b1.tar.gz |
Fix memleak of QGraphicsRectItem
We used to create a new QGraphicsRectItem everytime a Pixmap
changed. Since I'm pretty sure I deleted every bit of the
PictureItem before setting a new one, no leak was due, but this
version is safer.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'sha1.h')
0 files changed, 0 insertions, 0 deletions