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

MyRectangle {
    id: rect

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