diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-02-05 15:45:23 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-06 06:31:11 -0800 |
commit | 151a90bec0610a12880802234a9159a2b3747722 (patch) | |
tree | 447ea15b71395bc94864cbdf315eceed377660e5 /qt-ui/preferences.cpp | |
parent | ed230f8aacb2d1bc4076f927240998ca9f1fa8b6 (diff) | |
download | subsurface-151a90bec0610a12880802234a9159a2b3747722.tar.gz |
Big improvement in speed ( callgrind )
This patch makes use of a cache variable instead of creating / accessing a
new one via operator[], because for some reason QGraphicsPolygonItem
doesn't return a reference for polygon and a copy is always made.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.cpp')
0 files changed, 0 insertions, 0 deletions