diff options
author | Zhang Hao <zhanghao@uniontech.com> | 2021-12-13 16:04:37 +0800 |
---|---|---|
committer | Zhang Hao <zhanghao@uniontech.com> | 2021-12-21 09:24:56 +0800 |
commit | 8678ab9354e01b40e414c1413596dfb475752a9a (patch) | |
tree | a7bce5695d1c47979e8c41b5cc4891f05ad2137b /src/corelib/itemmodels/qabstractitemmodel.h | |
parent | 047d8f36de45ebb318726167f941b0dbc64754ba (diff) |
Use qint64 to replace int while qt_transform_image_rasterize
When rotating a very large image(for example,the image size is
42000*24000),using QTransform will cause the the variable of the
qt_transform_image_rasterize function exceeds the range of int.
Fix this by Use qint64 to replace int.
Fixes: QTBUG-99163
Done-with: Eirik Aavitsland <eirik.aavitsland@qt.io>
Pick-to: 6.3 6.2 5.15
Change-Id: I11e2873fbb1f432953a1a8e07054f9478dd90fbd
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/corelib/itemmodels/qabstractitemmodel.h')
0 files changed, 0 insertions, 0 deletions