aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2022-01-03 12:04:20 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2022-01-04 22:00:24 +0000
commit092b58246087d4eee08b0fe8d682f95b40497b6b (patch)
treecc5bf4e1768ae2b628bdc3fc67fd74fa4409d2a7 /examples
parentbb111c7d52eba2f74cefe31e8f3e87c3daca340e (diff)
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 <ulf.hermann@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/draganddrop/tiles/DragTile.qml2
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 }
}
-
}
}
}