summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYAMAMOTO Atsushi <atsushi.yamamoto@signal-slot.co.jp>2022-09-21 12:24:51 +0900
committerYAMAMOTO Atsushi <atsushi.yamamoto@signal-slot.co.jp>2022-09-30 11:19:33 +0900
commita032acde78b8649aaf1eebb0ac1edc21dba98708 (patch)
treefdcd9366951d3cd2f331f8efab7ecd3e0f7410ab
parentf1582559c23b3bec47154e529278f7360af26c4d (diff)
Fix runtime warning in manual test 'rendercapture-qml'
Warning message is: "QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead." We could replace it with Layout.alignment, but it's not needed here. Change-Id: I62f4784ca561ff55bb336ddea08fde5e4c685520 Reviewed-by: Antti Määttä <antti.maatta@qt.io>
-rw-r--r--tests/manual/rendercapture-qml-fbo/main.qml1
-rw-r--r--tests/manual/rendercapture-qml/main.qml1
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/manual/rendercapture-qml-fbo/main.qml b/tests/manual/rendercapture-qml-fbo/main.qml
index 0c12e9841..772c8f65e 100644
--- a/tests/manual/rendercapture-qml-fbo/main.qml
+++ b/tests/manual/rendercapture-qml-fbo/main.qml
@@ -40,7 +40,6 @@ Item {
Button {
id: button
- anchors.top: parent.top
text: "Render Capture"
property var reply
diff --git a/tests/manual/rendercapture-qml/main.qml b/tests/manual/rendercapture-qml/main.qml
index 229fcf361..2fe27350b 100644
--- a/tests/manual/rendercapture-qml/main.qml
+++ b/tests/manual/rendercapture-qml/main.qml
@@ -40,7 +40,6 @@ Item {
Button {
id: button
- anchors.top: parent.top
text: "Render Capture"
property var reply