aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2026-09-17 23:00:13 +0800
committerSze Howe Koh <szehowe.koh@gmail.com>2026-09-23 02:30:13 +0000
commitd86bf0d533ea11bddebe5fcf2192b7a30ab83993 (patch)
tree0c200c6b0f5b3ae595378e33479882988ca5b719
parentc97113c495f5eae3adbaa585398974000da4af36 (diff)
tst_qquickdrawer: Fix anchor in rotate.qml
83d90845527799c78366c2b89e9c14bc35e88695 changed the internal structure of ApplicationWindow, which broke the old anchor: "Cannot anchor to an item that isn't a parent or sibling." Task-number: QTBUG-123565 Change-Id: I9fa933657e6aaa3f773adc374e4bf448aa47d9b2 Pick-to: 6.12 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--tests/auto/quickcontrols/qquickdrawer/data/rotate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quickcontrols/qquickdrawer/data/rotate.qml b/tests/auto/quickcontrols/qquickdrawer/data/rotate.qml
index ae0f9814fa..b93121b2f1 100644
--- a/tests/auto/quickcontrols/qquickdrawer/data/rotate.qml
+++ b/tests/auto/quickcontrols/qquickdrawer/data/rotate.qml
@@ -16,7 +16,7 @@ ApplicationWindow {
anchors.centerIn: parent
}
Overlay.overlay.anchors.fill: background
- contentItem.anchors.fill: background
+ contentItem.parent.anchors.fill: background
Overlay.overlay.parent.rotation: rotated ? 90 : 0
property bool rotated: false