Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.0, 5.4.0 RC
-
None
-
43c93a55e28a4655d8bc8d49a81b7802d7157244
Description
The following code hangs:
import QtQuick 2.2 import QtQuick.Window 2.1 Window { visible: true width: 360 height: 360 Item { id: anitem parent: anitem } }
QQuickItem::setParentItem should not allow setting itself as a parent.
Attachments
For Gerrit Dashboard: QTBUG-43063 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
101396,2 | Error out when trying to set an item as its own parent | 5.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |