From ad8efdbc0c22146a30faf7181a2988a4c00dfbda Mon Sep 17 00:00:00 2001 From: Andrew Knight Date: Wed, 30 Apr 2014 13:44:09 +0300 Subject: 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 --- src/plugins/platforms/winrt/qwinrtscreen.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins') 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(this, &QWinRTScreen::onOrientationChanged).Get(), &m_tokens[QEvent::OrientationChange]); -- cgit v1.2.3