diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2015-05-01 18:31:54 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2015-05-05 05:02:51 +0000 |
commit | 3287e7a68a3feff5c34f109b6af0f894a0362801 (patch) | |
tree | 462e934f342e135e68833aab3cb4d1e280f6d2e9 /src/gui | |
parent | f44f2136e07bfea792a7aafd7c2058eac0ba595d (diff) |
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>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions