Commit 2067cfcf authored by Kai Koehne's avatar Kai Koehne
Browse files

Fix crash when loading any Qml file in QuickDesigner

Qt change f5c5e20ab20f016c0735 optimizes the calculation of the
children's bounding rect by taking the parent bounding rect into
account. This led to a recursion in the QuickDesigner Form Editor,
because LayerItem::boundingRect() is defined as the children's bounding

Break the cycle by setting ItemClipsChildrenToShape to false.
parent 5b989680
......@@ -65,7 +65,7 @@ FormEditorScene::FormEditorScene(FormEditorWidget *view, FormEditorView *editorV
m_formLayerItem->setFlag(QGraphicsItem::ItemClipsChildrenToShape, true);
m_formLayerItem->setFlag(QGraphicsItem::ItemClipsChildrenToShape, false);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment