aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/imageviewer
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-01-12 16:08:03 +0100
committerUlf Hermann <ulf.hermann@qt.io>2018-02-14 09:48:48 +0000
commitda8fc2573e33feae5bb796f15b02536e800383c1 (patch)
tree26b464754b33b6c13eaa7933fd524ca2ccfaf499 /src/plugins/imageviewer
parentcd85d3aba56a142374226f5fdec8df3b6632357b (diff)
Timeline: Don't restrict scales to 32bit integers
The JavaScript bit shift operators are 32bit only, and the QML "int" type is "about -2G to +2G", so use multiplication and division instead of bit shift and store the results as double. Change-Id: If13c264e9e8a09ddc37675850b107411ee0b120f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/imageviewer')
0 files changed, 0 insertions, 0 deletions