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

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

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