summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mobile/BrowserWindowMobile.cpp2
-rw-r--r--src/mobile/qml/main-harmattan.qml3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/mobile/BrowserWindowMobile.cpp b/src/mobile/BrowserWindowMobile.cpp
index 42b01f3..c301ebf 100644
--- a/src/mobile/BrowserWindowMobile.cpp
+++ b/src/mobile/BrowserWindowMobile.cpp
@@ -53,4 +53,6 @@ void BrowserWindowMobile::setupDeclarativeEnvironment()
#else
setSource(QUrl("qrc:///mobile/qml/Main.qml"));
#endif
+
+ reportContentOrientationChange(Qt::PortraitOrientation);
}
diff --git a/src/mobile/qml/main-harmattan.qml b/src/mobile/qml/main-harmattan.qml
index c5366e8..e90884d 100644
--- a/src/mobile/qml/main-harmattan.qml
+++ b/src/mobile/qml/main-harmattan.qml
@@ -17,9 +17,6 @@
import com.nokia.meego 2.0
PageStackWindow {
- // Hiding the status bar until the Orientation problems on N9 are fixed.
- // Tentative fix: https://codereview.qt-project.org/#change,24423
- showStatusBar: false
initialPage: Page {
orientationLock: PageOrientation.LockPortrait