qt6-bb10/tests/auto/widgets
Christian Ehrlicher 794140fb86 QGraphicsProxyWidget: Don't crash within setWidget() when a child proxy has no assigned widget
QGraphicsProxyWidget::setWidget() is checking if the newly assigned
widget is already assigned to a child proxy widget without checking if
the child has a widget assigned at all which lead to a nullptr reference
if it is not the case.
Therefore check if the assigned widget is a valid pointer.

Fixes: QTBUG-15442
Change-Id: I006877f99895ca01975bdcad071cfcf90bea22ad
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2018-11-22 16:43:38 +00:00
..
dialogs tst_qfilesystemmodel: Do not use nested calls of auto test functions 2018-10-25 11:24:08 +00:00
effects Blacklist flaky tst_QGraphicsEffect autotest on openSUSE 2018-09-24 21:13:20 +00:00
graphicsview QGraphicsProxyWidget: Don't crash within setWidget() when a child proxy has no assigned widget 2018-11-22 16:43:38 +00:00
itemviews QTableWidget: fix cellChanged signal emitted by takeItem() 2018-10-19 12:19:20 +00:00
kernel macOS: Remove blacklist entries for no longer supported OS versions 2018-11-12 07:16:30 +00:00
styles StyleSheetStyle: Load @Nx images 2018-10-04 07:01:05 +00:00
util winrt: Make widgets/util auto tests pass 2018-05-25 11:02:23 +00:00
widgets macOS: Remove blacklist entries for no longer supported OS versions 2018-11-12 07:16:30 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00