diff options
author | Andrew Knight <[email protected]> | 2014-07-15 02:02:58 +0300 |
---|---|---|
committer | Andrew Knight <[email protected]> | 2014-08-05 16:44:18 +0200 |
commit | c48484ea6d39909b7919577701ffeb9656bbea62 (patch) | |
tree | aa585aa88e969d9f460875301833859d6d7d1d4d /examples/opengl/qopenglwindow | |
parent | a93bfc1ebe52c613804cbf58711337d9f5c7289b (diff) |
winrt: Fix orientation update mask
On WP8.0, setting auto rotation preferences at runtime worked like an
orientation update mask, and did not modify the behavior of the window.
With WP8.1, setting auto rotation preferences has the side effect that the
compositor will then resize the window when moving from e.g. portrait to
landscape. Because of this, the auto rotation API should not be called
inside orientationUpdateMask(). The default implementation is now
sufficient, so the platform override is removed.
Developers looking to set auto rotation preferences should use the
application manifest or call the native api directly.
Task-number: QTBUG-35953
Change-Id: I90cf4290ced34df1bb350cb6aa5deff209622865
Reviewed-by: Oliver Wolff <[email protected]>
Diffstat (limited to 'examples/opengl/qopenglwindow')
0 files changed, 0 insertions, 0 deletions