diff options
author | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-01-18 08:59:34 (GMT) |
---|---|---|
committer | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-01-18 10:21:31 (GMT) |
commit | b928bab9dde43cf3acace6dfae0ae6a4f6649650 (patch) | |
tree | 0a51bb8d2071a94b3e629f8c5df87b4275a22438 /doc/src/snippets/code/src_script_qscriptvalueiterator.cpp | |
parent | c756d5cffdc31228b9ab9388c307bf4eb705b923 (diff) | |
download | Qt-b928bab9dde43cf3acace6dfae0ae6a4f6649650.zip Qt-b928bab9dde43cf3acace6dfae0ae6a4f6649650.tar.gz Qt-b928bab9dde43cf3acace6dfae0ae6a4f6649650.tar.bz2 |
Fix to data detaching in OpenVG pixmap data
QImage::converToFormat(format) won't detach QImage if
format stays the same. Because of this, internal QImage
buffer of QVGPixmapData was not deep copied. Drawing
to QPixmap target modified the original QImage that was
used to create QPixmap and in some cases crashed because
paint engine referred to wrong target.
Task-number: QT-4407
Reviewed-by: Jason Barron
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptvalueiterator.cpp')
0 files changed, 0 insertions, 0 deletions