tst_QWidget::gdiPainting fixed
authorJoerg Bornemann <joerg.bornemann@nokia.com>
Mon, 2 Jul 2012 15:49:16 +0000 (17:49 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 3 Jul 2012 11:32:04 +0000 (13:32 +0200)
commit0f3528a7f686793598b341182f90d78423792e47
tree93a978f8bc4e80c883c0ccbecef7738c04c348a1
parent97b8915bb122c6f4160cb1ed05c35a1ad95f783f
tst_QWidget::gdiPainting fixed

We cannot use QWidget::grab for widgets that have WA_PaintOnScreen set.
QScreen::grabWindow copies the real screen contents for us.

Change-Id: If1f6233ec48bcb2b941ea683c56ce71a39642e67
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp