summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativestates/data/autoStateAtStartupRestoreBug.qml
blob: 37e1e5a72f275471ceade4fdb94245313cebef88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import Qt 4.7

Item {
    id: root
    property int input: 1
    property int test: 9

    states: [
        State {
            name: "portrait"
            when: root.input == 1
            PropertyChanges {
                target: root
                test: 3
            }
        }
    ]
}