on xenial help sign in
Have tablet behave as before
5ff9fcaGerry Boland
qml/Stages/TabletStage.qml+3−7
@@ -551,14 +551,10 @@ Rectangle {
551 }
551 }
552
552
553 onInteractiveChanged: {
553 onInteractiveChanged: {
554− if (isInSideStage) {
554+ if (interactive) {
555− appDelegate.orientation = Qt.PortraitOrientation; // FIXME! Need Proper Rotation Support
555+ appDelegate.orientation = Qt.binding( function() { return root.orientation; } );
556 } else {
556 } else {
557− if (interactive) {
558− appDelegate.orientation = Qt.binding( function() { return root.orientation; } );
559− } else {
560− appDelegate.orientation = root.orientation; // breaks the binding intentionally
557+ appDelegate.orientation = root.orientation; // breaks the binding intentionally
561− }
562 }
558 }
563 }
559 }
564
560