diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-01-14 14:41:56 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-15 07:24:13 +1300 |
commit | 501f72c6976da0893d4e5f9bb82378e41c37f756 (patch) | |
tree | ea109d91140cbd77c09a298f7deed71cc50f726d /Documentation/50-pot | |
parent | db4ffd0b703b43f60b0802a21b434dd5b87f6be4 (diff) | |
download | subsurface-501f72c6976da0893d4e5f9bb82378e41c37f756.tar.gz |
Speed Improvemens: fewer calls to mapFromScene / mapToScene
We did three cals to mapToScene / mapFromScene on the mouse moveEvent at
the ProfileWidget2 where we only needed to call one in the common case and
two in the worst case.
This doesn't really help in terms of speed (unless you have a really old
cpu) but since it's code that gets called *very* often, it seemed a
reasonable thing to do.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation/50-pot')
0 files changed, 0 insertions, 0 deletions