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

MyRectangle {
    id: rect

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