aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickbehaviors/data/overwrittenbehavior.qml
blob: e627c45782537bdad0c9c4834afa95eb4fc50e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 2.4

Item {
    property bool behaviorTriggered
    property bool someProperty

    ItemWithInnerBehavior {
        //the existence of this property triggers the bug
        property bool iDoAbsolutelyNothing

        Component.onCompleted: parent.someProperty = true
        someValue: parent.someProperty
    }
}