on xenial help sign in
Remove old Orientations code from tablet stage
3794592Josh Arenson
qml/Stages/TabletStage.qml+1−10
@@ -690,18 +690,9 @@ Rectangle {
690 return progress;
690 return progress;
691 }
691 }
692
692
693− deviceSpecificOrientationOverrides: root.deviceSpecificOrientationOverrides
694 shellOrientationAngle: wantsMainStage ? root.shellOrientationAngle : 0
693 shellOrientationAngle: wantsMainStage ? root.shellOrientationAngle : 0
695 shellOrientation: wantsMainStage ? root.shellOrientation : Qt.PortraitOrientation
694 shellOrientation: wantsMainStage ? root.shellOrientation : Qt.PortraitOrientation
696− orientations: Orientations {
695+ orientations: root.orientations
697− primary: spreadTile.wantsMainStage ? root.orientations.primary : Qt.PortraitOrientation
698− native_: spreadTile.wantsMainStage ? root.orientations.native_ : Qt.PortraitOrientation
699− portrait: root.orientations.portrait
700− invertedPortrait: root.orientations.invertedPortrait
701− landscape: root.orientations.landscape
702− invertedLandscape: root.orientations.invertedLandscape
703− }
704−
705
696
706 onClicked: {
697 onClicked: {
707 if (spreadView.phase == 2) {
698 if (spreadView.phase == 2) {