aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-12-12 21:45:03 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-12-21 19:33:19 +0000
commit92dff998b3bf73ee0ad9d636454379869318975f (patch)
tree0a74f43a415594af31352f540fa2496888f508e8 /tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml
parentfd9d88e3a9f24eb84d029fb9324b4f03ae58ffeb (diff)
Expose the target value in Behaviors
So that nested animation can use it. Change-Id: Ief40cda1dfe1ad9a38cf0d18fbf34456dc36e2ee Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml')
-rw-r--r--tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml b/tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml
index 09983645ef..0ac7f87c42 100644
--- a/tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml
+++ b/tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml
@@ -5,6 +5,7 @@ Item {
property bool someValue
Behavior on someValue {
+ objectName: "behavior"
ScriptAction { script: { parent.behaviorTriggered = true }}
}
}