From 092b58246087d4eee08b0fe8d682f95b40497b6b Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Mon, 3 Jan 2022 12:04:20 +0100 Subject: Drag and Drop example: remove ParentChange Reparenting the tile doesn't seem to be needed; and behavior changed somehow in Qt 6. Pick-to: 6.2 Pick-to: 6.3 Task-number: QTBUG-99436 Change-Id: If860d62260a7904718eb33b857b339bc6c5557a8 Reviewed-by: Ulf Hermann --- examples/quick/draganddrop/tiles/DragTile.qml | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/quick/draganddrop/tiles/DragTile.qml b/examples/quick/draganddrop/tiles/DragTile.qml index 47f0ebed5e..1762ca8327 100644 --- a/examples/quick/draganddrop/tiles/DragTile.qml +++ b/examples/quick/draganddrop/tiles/DragTile.qml @@ -94,10 +94,8 @@ Item { //! [1] states: State { when: mouseArea.drag.active - ParentChange { target: tile; parent: root } AnchorChanges { target: tile; anchors.verticalCenter: undefined; anchors.horizontalCenter: undefined } } - } } } -- cgit v1.2.3