Fixed race condition in raster paint engine.
authorSamuel Rødal <samuel.rodal@nokia.com>
Tue, 26 Oct 2010 13:46:11 +0000 (15:46 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Wed, 27 Oct 2010 10:14:05 +0000 (12:14 +0200)
commita87dbf0d08d58b829ca2fa036d589ad4fd48949f
tree2bfb93c21d1ffa1a0c083d1a7b104e88a4de6956
parente5ef6f580e1b601898a2fea095ed5be9823bab25
Fixed race condition in raster paint engine.

We need to protect the gradient cache accesses with a mutex.

Task-number: QTBUG-14614
Reviewed-by: Bradley T. Hughes
src/gui/painting/qpaintengine_raster.cpp
tests/auto/qpainter/tst_qpainter.cpp