Commit 50f35474 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.
(cherry picked from commit 2067cfcf)
parent 07845306
......@@ -65,7 +65,7 @@ FormEditorScene::FormEditorScene(FormEditorWidget *view, FormEditorView *editorV
m_formLayerItem->setFlag(QGraphicsItem::ItemClipsChildrenToShape, true);
m_formLayerItem->setFlag(QGraphicsItem::ItemClipsChildrenToShape, false);
Supports Markdown
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