diff options
author | Andrew Knight <andrew.knight@digia.com> | 2014-04-30 13:44:09 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-05 14:13:50 +0200 |
commit | ad8efdbc0c22146a30faf7181a2988a4c00dfbda (patch) | |
tree | d7b205e0a77ea03c885b97d2f4c55e52a350b2ca /src/plugins/platforms | |
parent | 14cb737ff709edd506a687f7277b4962c094ec1e (diff) |
WinRT: set orientation update mask to native orientation by default
This aligns with the other mobile platforms.
Task-number: QTBUG-38691
Change-Id: I7b9b70a1182c0e53f997cae111ec46b5161b0b48
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/winrt/qwinrtscreen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/winrt/qwinrtscreen.cpp b/src/plugins/platforms/winrt/qwinrtscreen.cpp index 583441f396..773220660a 100644 --- a/src/plugins/platforms/winrt/qwinrtscreen.cpp +++ b/src/plugins/platforms/winrt/qwinrtscreen.cpp @@ -496,6 +496,7 @@ QWinRTScreen::QWinRTScreen(ICoreWindow *window) // Set initial orientation onOrientationChanged(0); + setOrientationUpdateMask(m_nativeOrientation); m_displayProperties->add_OrientationChanged(Callback<IDisplayPropertiesEventHandler>(this, &QWinRTScreen::onOrientationChanged).Get(), &m_tokens[QEvent::OrientationChange]); |