diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-23 16:07:22 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-23 21:11:15 -0800 |
commit | 0f5069784da9dd89c7c2d2b2a2de52d3f653d91c (patch) | |
tree | 5d6a555af94ebaf4b70750d218006e218ab1f63e /qt-ui/profile/profilewidget2.cpp | |
parent | 43cf4fb98417fc6fd2124704fca7f46988d57e72 (diff) | |
download | subsurface-0f5069784da9dd89c7c2d2b2a2de52d3f653d91c.tar.gz |
Prevent memory leak by removing the texts on the TemperatureItem
This patch prevents memory leak by adding the text on the list of
'delete me when model changes' items. it also makes things a bit more
snappy because the scene doesn't have to deal with all of the
texts bounding rectangles eveytime.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
0 files changed, 0 insertions, 0 deletions