Fix rendering of QAxWidgets
authorMiikka Heikkinen <miikka.heikkinen@digia.com>
Thu, 28 Jun 2012 11:05:41 +0000 (14:05 +0300)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jun 2012 11:56:40 +0000 (13:56 +0200)
commit7395490c6a2ee761bba14de1dbfed0a94d287c18
tree2fb6e4b6f74ecf0a0fcbe2d770dbf8f667287094
parent8884d771dfa86986ccd5ba5c01ca38f21c53a030
Fix rendering of QAxWidgets

QPainter::redirected() has been obsoleted, so it cannot be used for
differentiating between QWidget::render() and regular painting anymore.
However, QWidget::redirected() still works, and there is no indication
it has been deprecated or obsoleted, so changed QAxWidget to use that.

Task-number: QTBUG-26323
Change-Id: I4fd9533dba7f8d4f14c866cca59dbeca47b8cee8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/activeqt/container/qaxwidget.cpp