diff options
author | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2010-10-25 16:32:21 (GMT) |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2010-10-25 16:46:42 (GMT) |
commit | 4117403ad5170110849b7d0663337b1571304a8e (patch) | |
tree | 5f25cd55100dcc8caab0fd14aecdc1d285822d2d /src/opengl | |
parent | eb2b56bc4d6a226058c36233aaf5c13e39fa3dc2 (diff) | |
download | Qt-4117403ad5170110849b7d0663337b1571304a8e.zip Qt-4117403ad5170110849b7d0663337b1571304a8e.tar.gz Qt-4117403ad5170110849b7d0663337b1571304a8e.tar.bz2 |
Simplify calculation of center point and scale for PinchRecongizer
Constructing a QLineF to get at the centerPoint is not precise and can be done simpler.
The scale factor can be assigned directly to d->scaleFactor instead of creating a temporary
scaleFactor variable.
Reviewed-by: Zeno Albisser
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions