@@ -37,8 +37,9 @@ Rectangle {
3737 name: applicationArguments.deviceName
3838 }
3939
40− property var orientations: Orientations {
41− id: orientations
40+ property alias orientations: orientations_
41+ Orientations {
42+ id: orientations_
4243 // NB: native and primary orientations here don't map exactly to their QScreen counterparts
4344 native_: root.width > root.height ? Qt.LandscapeOrientation : Qt.PortraitOrientation
4445
@@ -158,7 +159,7 @@ Rectangle {
158159 width: root.width
159160 height: root.height
160161 orientation: root.angleToOrientation(orientationAngle)
161− orientations: root.orientations
162+ orientations: root.orientations ? root.orientations : ""
162163 nativeWidth: root.width
163164 nativeHeight: root.height
164165 mode: applicationArguments.mode