diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-11-09 09:53:43 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-11-09 10:03:10 (GMT) |
commit | 55911952c7b195e36614372d084c473202ab1c44 (patch) | |
tree | ce0b1165227eacec8e1c034da6c545f264dc0d18 /src/scripttools | |
parent | 8d8f14314138139c8e538763fb6bb12f214587cf (diff) | |
download | Qt-55911952c7b195e36614372d084c473202ab1c44.zip Qt-55911952c7b195e36614372d084c473202ab1c44.tar.gz Qt-55911952c7b195e36614372d084c473202ab1c44.tar.bz2 |
Fixed tst_qwidget::testContentsPropagation auto-test failure.
Some auto-tests render into a QPixmap and check the result against
QPixmap::grabWidget(). Change acc1a2bd5520369c made grabWidget() render
into a QImage to be able to preserve background transparency. Instead,
to avoid breaking various auto-tests, we can use a QPixmap and fill it
with transparent if the widget's isOpaque flag is not set.
Task-number: QTBUG-14945
Reviewed-by: Kim
Diffstat (limited to 'src/scripttools')
0 files changed, 0 insertions, 0 deletions