diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2023-11-09 12:06:49 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-11-09 19:49:00 +0000 |
commit | 8702853313d82ff29154dadc888a714c0d45e599 (patch) | |
tree | 6e4aa488cf6a2f3dce6a1ef8b7084ce95388681e /src/widgets/widgets/qmainwindowlayout.cpp | |
parent | 4d691cfc8ad2ddcdb72209cc19752ed5c8bbb577 (diff) |
Fix findNearestColor for semitransparent colors
The two destcolors and the buffer are all already premultiplied. This
would double premultiply them.
Pick-to: 6.5 6.2
Change-Id: I235bee616d8e0033b87c6f96464f0926af7bd29a
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit b637607789a9e92a0dd0ff7fb31b9a92a10ef0bf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/widgets/widgets/qmainwindowlayout.cpp')
0 files changed, 0 insertions, 0 deletions