@@ -37,8 +37,9 @@ Rectangle {
37 name: applicationArguments.deviceName
37 name: applicationArguments.deviceName
40− property var orientations: Orientations {
40+ property alias orientations: orientations_
41− id: orientations
41+ Orientations {
42 // NB: native and primary orientations here don't map exactly to their QScreen counterparts
43 // NB: native and primary orientations here don't map exactly to their QScreen counterparts
43 native_: root.width > root.height ? Qt.LandscapeOrientation : Qt.PortraitOrientation
44 native_: root.width > root.height ? Qt.LandscapeOrientation : Qt.PortraitOrientation
@@ -158,7 +159,7 @@ Rectangle {
158 width: root.width
159 width: root.width
159 height: root.height
160 height: root.height
160 orientation: root.angleToOrientation(orientationAngle)
161 orientation: root.angleToOrientation(orientationAngle)
161− orientations: root.orientations
162+ orientations: root.orientations ? root.orientations : ""
162 nativeWidth: root.width
163 nativeWidth: root.width
163 nativeHeight: root.height
164 nativeHeight: root.height
164 mode: applicationArguments.mode
165 mode: applicationArguments.mode