diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-01-12 16:08:03 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-02-14 09:48:48 +0000 |
commit | da8fc2573e33feae5bb796f15b02536e800383c1 (patch) | |
tree | 26b464754b33b6c13eaa7933fd524ca2ccfaf499 /src/plugins/imageviewer | |
parent | cd85d3aba56a142374226f5fdec8df3b6632357b (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