Fix rendering of Mac controls onto a QImage
authorAndy Shaw <qt-info@nokia.com>
Wed, 11 May 2011 06:30:08 +0000 (08:30 +0200)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 23:12:45 +0000 (09:12 +1000)
commitd4b722868bbd2b228a877e15e5ca44dd9ad8d94c
tree73c5bb74668372921effe1ec74a806961b1cbb75
parent4f7af4c544c3b793ba8cccb28e5c856f3d754e4a
Fix rendering of Mac controls onto a QImage

When a context was requested for a painter then it would not get a valid
context because it did not account for the QImage case.  This fix adds
QImage to the list of devtypes that the raster engine needs a context
for.

Task-number: QTBUG-19117
Reviewed-by: Samuel
src/gui/painting/qpaintengine_mac.cpp