diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-01-16 17:13:58 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-17 08:53:26 +1300 |
commit | a6e95511a681043907c2718b19d9d9023af173a9 (patch) | |
tree | 3f61e38fac45e76496f5e0686639648e49347af8 /color.h | |
parent | abddb3ecb9d93d44bb0071ea369c98499105b9f0 (diff) | |
download | subsurface-a6e95511a681043907c2718b19d9d9023af173a9.tar.gz |
Reduce the amount of new/delete when setting a new text on DiveTextItem
We were recreating the PathItems (one for the outline, other for the real
text) for every call to setText. This was a very un-smart move.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'color.h')
0 files changed, 0 insertions, 0 deletions