on xenial help sign in
Fix orientation on manta
5555897Gerry Boland
qml/OrientedShell.qml+2
@@ -30,6 +30,8 @@ Item {
30 // check device name and fix orientation if necessary
30 // check device name and fix orientation if necessary
31 if (applicationArguments.device() === "flo") {
31 if (applicationArguments.device() === "flo") {
32 return Screen.angleBetween(Screen.primaryOrientation, Qt.InvertedLandscapeOrientation);
32 return Screen.angleBetween(Screen.primaryOrientation, Qt.InvertedLandscapeOrientation);
33+ } else if (applicationArguments.device() === "manta") {
34+ return Screen.angleBetween(Screen.primaryOrientation, Qt.LandscapeOrientation);
33 }
35 }
34
36
35 var screenOrientation = Screen.orientation;
37 var screenOrientation = Screen.orientation;