diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-01-03 12:04:20 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-01-14 17:18:29 +0000 |
commit | 4190384c70a4445163318dd1ad6a1b4f4aca60d3 (patch) | |
tree | aa71dc7bd1653f724f43947374a45a7cad20c6e0 /examples | |
parent | 79e3420c0cef1752cefaba995cf04f0c598a2606 (diff) |
Drag and Drop example: remove ParentChange
Reparenting the tile doesn't seem to be needed; and behavior changed
somehow in Qt 6.
Task-number: QTBUG-99436
Change-Id: If860d62260a7904718eb33b857b339bc6c5557a8
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 092b58246087d4eee08b0fe8d682f95b40497b6b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/draganddrop/tiles/DragTile.qml | 2 |
1 files changed, 0 insertions, 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 } } - } } } |