summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qlayout.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-11-20 15:58:04 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-11-20 20:42:12 +0100
commita31484302d71c29c0e0e62f9941f9d5f0c87f9aa (patch)
treebb72334ca5295afbafc92a1e31ffb3de8633542c /src/widgets/kernel/qlayout.cpp
parentfb21a5ce1a5831fab2af5e4d301600d6a6211e5d (diff)
Fix safe conversion
Ensure the resulting QScFixed values are no larger than can be safely returned to int after shifting the fixed factor away. Pick-to: 6.0 6.0.0 Fixes: QTBUG-88683 Change-Id: Id0754b021e5fa9a3cf0d15e37ac643cfc1509993 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/widgets/kernel/qlayout.cpp')
0 files changed, 0 insertions, 0 deletions