summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-12-03 15:15:19 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-12-04 09:54:39 +0000
commitc04e7dead8bee51e11698fe1c625c76915a60753 (patch)
treee42259c20a7b33ca2558bbabc0998f758608e692 /src/plugins/platforms
parent2366ecfb2dbf96eda8fa77d1f8cb484d80b52642 (diff)
QImage pixelColor and setPixelColor must use unpremultiplied QColor
QColor always uses unpremultiplied alpha, but the new QImage methods were based on the QRgb versions which might be either. This patches fixes the two new methods so they treat QColor alpha correctly. Change-Id: I78a5b875ad4e78ad7fde3b811c6187482b4f6d15 Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions