summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativestates/data/signalOverrideCrash.qml
blob: 8a0b51a4fe419f6508a7e3f3fbe63924ade9e78f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Qt 4.7
import Qt.test 1.0

MyRectangle {
    id: rect

    width: 100; height: 100
    states: State {
        name: "overridden"
        PropertyChanges {
            target: rect
            onDidSomething: rect.state = ""
        }
    }
}