aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2022-01-03 12:04:20 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-05 01:35:24 +0000
commit482cdb5e8ad9f6493c9f3837811b51ec275927c9 (patch)
treead439fc1648b178ed69863583c4ba1a1e6818645 /examples
parent7919d16ede731dcca724ecddcc94608e4205f2dd (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.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 }
}
-
}
}
}