summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtransformedscreen
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-12-07 11:53:37 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2010-12-07 13:39:51 (GMT)
commiteac9e6a11e7727d8a749242f317362337ce89a1d (patch)
tree27e11cc2eec6863efdc5e86895c0cdbe3d4c5aba /tests/auto/qtransformedscreen
parent532115bcaa370af827a5cbad017b272842c5aacf (diff)
downloadQt-eac9e6a11e7727d8a749242f317362337ce89a1d.zip
Qt-eac9e6a11e7727d8a749242f317362337ce89a1d.tar.gz
Qt-eac9e6a11e7727d8a749242f317362337ce89a1d.tar.bz2
Prevent always deep-copying in QPixmap::toImage() for raster pixmaps.
Calling paintEngine() can cause a deep copy since it will indirectly call the bits() function. Since we don't want to create a paint engine if it doesn't exist we should access the QImageData paintEngine variable directly instead. Reviewed-by: Olivier Goffart
Diffstat (limited to 'tests/auto/qtransformedscreen')
0 files changed, 0 insertions, 0 deletions