diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-05-13 08:53:37 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-05-27 12:41:52 +0000 |
commit | dfc5a1035607d433acdb64b0798bc6d8d9cad729 (patch) | |
tree | 6bd572d2ff76e6e572bea3bf8a479f06ece6f7cb /src/platformsupport | |
parent | ee92ee7a3cf7ef6017a2950a590005abfd37cf1a (diff) |
Do a proper convert from [0-65535] to [0-255] on QColor integer reads
We need to divide by 257 and round to undo our setter.
Pick-to: 5.15
Fixes: QTBUG-84168
Change-Id: I55d2a8d1d05125d9560309cd77459cc94a92030f
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/platformsupport')
0 files changed, 0 insertions, 0 deletions