diff options
author | Lauro Neto <lauro.neto@openbossa.org> | 2012-04-27 15:11:13 -0300 |
---|---|---|
committer | Lauro Neto <lauro.neto@openbossa.org> | 2012-04-27 15:51:30 -0300 |
commit | d9d3243f5c40875ddad82f9a0a38e1cb0458c07d (patch) | |
tree | 241458791a72db0042caf62de25eafbfa16d1b9e | |
parent | 69d9b7e10d69816c5604be65bd8850a2512a8eaf (diff) |
Hide status bar until Qt5 orientation is fixed
QtComponents for QtQuick2 uses QWindow->reportContentOrientationChange
to tell the system that its contents will be on a different
orientation. It'll call QPlatformWindow->handleContentOrientationChange
which is a placeholder function. Until it is properly handled the
status bar will be being drawn twice for portrait apps as the system
will think the application is still in landscape mode.
There is a tentative fix at the link below
https://codereview.qt-project.org/#change,24423
Reviewed-by: Luciano Wolf
-rw-r--r-- | src/mobile/qml/main-harmattan.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mobile/qml/main-harmattan.qml b/src/mobile/qml/main-harmattan.qml index 4f60cfa..c5366e8 100644 --- a/src/mobile/qml/main-harmattan.qml +++ b/src/mobile/qml/main-harmattan.qml @@ -17,6 +17,10 @@ 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 Main { |