diff options
Diffstat (limited to 'examples/declarative/calculator/calculator.qml')
-rw-r--r-- | examples/declarative/calculator/calculator.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/calculator/calculator.qml b/examples/declarative/calculator/calculator.qml index cfec9c185f..82fa1c1a3e 100644 --- a/examples/declarative/calculator/calculator.qml +++ b/examples/declarative/calculator/calculator.qml @@ -62,7 +62,7 @@ Rectangle { Item { id: main - state: "orientation " + Screen.currentOrientation + state: "orientation " + Screen.orientation property bool landscapeWindow: window.width > window.height property real baseWidth: landscapeWindow ? window.height : window.width |