qt5base-lts/tests/auto/widgets/graphicsview/qgraphicswidget
Giuseppe D'Angelo 3287e7a68a QGraphicsWidget: call normal "setParent" when setting a parent
QGraphicsWidgetPrivate::init had a special code path for setting
the item's parent. For some reason that code path caused the
ItemChildAddedChange notification not to be sent to the parent
element, which is wrong. Instead use the "normal" path, which is
what the QGraphicsItem constructor does anyhow.

Change-Id: Iad84cae05d797022a45977d35ca00c80c17c306a
Task-number: QTBUG-45867
Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
2015-05-05 05:02:51 +00:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
BLACKLIST Tests: Blacklist tests for ubuntu 14.04 2015-04-01 13:59:04 +00:00
qgraphicswidget.pro Remove XFAIL from tst_qgraphicswidget::initialShow2(). 2013-05-27 17:47:20 +02:00
tst_qgraphicswidget.cpp QGraphicsWidget: call normal "setParent" when setting a parent 2015-05-05 05:02:51 +00:00