@@ -93,7 +93,7 @@ int startShell(int argc, const char** argv, void* server)
95 const QByteArray orientation = qgetenv("NATIVE_ORIENTATION");
95 const QByteArray orientation = qgetenv("NATIVE_ORIENTATION");
96− Qt::ScreenOrientation orientationAngle = Qt::PortraitOrientation;
96+ Qt::ScreenOrientation orientationAngle = Qt::PrimaryOrientation;
97 if (orientation == "landscape") {
97 if (orientation == "landscape") {
98 orientationAngle = Qt::LandscapeOrientation;
98 orientationAngle = Qt::LandscapeOrientation;
99 } else if (!orientation.isEmpty() && orientation != "portrait") {
99 } else if (!orientation.isEmpty() && orientation != "portrait") {