qt5base-lts/tests/auto/widgets
Sérgio Martins 0265a23bb0 Fix crash when calling QWidget::grab() on a QOpenGLWidget
By avoiding unneeded nested QPainters.

Crash was:
ASSERT: "s" in file /data/sources/qt/qt5/qtbase/src/gui/painting/qpaintengine_raster.cpp, line 2239

s was nullptr because the inner QPainter had called updateState(0), which is then dereferenced by the outer QPainter.

Task-number: QTBUG-61036
Change-Id: I7aad648f805f1abac4d38dfbefa2292da8b52af4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
2017-06-07 14:49:13 +00:00
..
dialogs QWidgetWindow: don't give focus to windows that are being destroyed 2017-05-30 10:49:36 +00:00
effects QWidgetEffectSourcePrivate::draw(): Call render() when no shared painter exists 2017-05-29 10:23:01 +00:00
gestures autotests: use QTest::createTouchDevice() 2016-06-10 13:07:17 +00:00
graphicsview Blacklist tst_QGraphicsScene::removeItem on OS X 10.11 in CI 2017-05-11 10:32:38 +00:00
itemviews QHeaderView: fix visual/logical index corruption when restoring state 2017-05-26 12:43:31 +00:00
kernel Fix tst_QWidget::translucentWidget() on high DPI displays 2017-05-29 10:35:46 +00:00
styles tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
util Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
widgets Fix crash when calling QWidget::grab() on a QOpenGLWidget 2017-06-07 14:49:13 +00:00
widgets.pro