summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded/qwsproperty_qws.cpp
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-08 17:50:14 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-09 07:43:42 (GMT)
commitf84782506770f99e9633649483e4dd067e3abcd5 (patch)
tree198ab5dfa162385bf8a7124e23013fa68513f5b0 /src/gui/embedded/qwsproperty_qws.cpp
parente2e039954b2212a9cee0b7f72e383621f8bc6c8f (diff)
downloadQt-f84782506770f99e9633649483e4dd067e3abcd5.zip
Qt-f84782506770f99e9633649483e4dd067e3abcd5.tar.gz
Qt-f84782506770f99e9633649483e4dd067e3abcd5.tar.bz2
Fix QGraphicsView::render() regression, ensure the right device is passed.
If we pass the viewport widget as the widget pointer when rendering to an arbitrary painter (e.g., onto a pixmap), we confuse the rendering functions to thinking that it's the viewport's region we should render into. So instead, when drawItems() is passed a painter that's different from the view, we pass 0 for the widget.
Diffstat (limited to 'src/gui/embedded/qwsproperty_qws.cpp')
0 files changed, 0 insertions, 0 deletions