diff options
Diffstat (limited to 'examples/declarative/window/screen/screenInfo.qml')
-rw-r--r-- | examples/declarative/window/screen/screenInfo.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/window/screen/screenInfo.qml b/examples/declarative/window/screen/screenInfo.qml index 53028a41e6..9a9727693f 100644 --- a/examples/declarative/window/screen/screenInfo.qml +++ b/examples/declarative/window/screen/screenInfo.qml @@ -47,7 +47,7 @@ Item { height: 200 Item { id: main - state: "orientation " + Window.Screen.currentOrientation + state: "orientation " + Window.Screen.orientation property bool landscapeWindow: Window.Screen.primaryOrientation == Qt.LandscapeOrientation property real baseWidth: landscapeWindow ? root.height : root.width |