summaryrefslogtreecommitdiffstats
path: root/translations
diff options
context:
space:
mode:
authorJason Barron <jason.barron@nokia.com>2010-11-23 10:13:41 (GMT)
committerJason Barron <jason.barron@nokia.com>2010-11-23 10:22:33 (GMT)
commitf9c97d3a4ab7bbd0ca2f4cf33a53025af23fc47c (patch)
tree175d7d2ef25f1df28024d6143552bce7c2d8387d /translations
parent9d9ecb86b80a57e5dcfafb71dc289ca62f64371a (diff)
downloadQt-f9c97d3a4ab7bbd0ca2f4cf33a53025af23fc47c.zip
Qt-f9c97d3a4ab7bbd0ca2f4cf33a53025af23fc47c.tar.gz
Qt-f9c97d3a4ab7bbd0ca2f4cf33a53025af23fc47c.tar.bz2
Fix QPixmap::fromImage() in the OpenVG pixmap backend.
If QPixmap::fromImage() was called with a QImage that has an alpha channel and with the 'Qt::NoOpaqueDetection' image conversion flag set, then we would always create an opaque (RGB32) pixmap. This is incorrect. The fix is to check if the source QImage has an alpha channel and if so, use sourceFormat(), otherwise use RGB32. Task-number: QT-4278 Reviewed-by: Jani Hautakangas
Diffstat (limited to 'translations')
0 files changed, 0 insertions, 0 deletions