diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2022-09-28 13:18:58 +0300 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2022-09-29 05:16:34 +0000 |
commit | 7c622a672117ca6c89839d9da8fb4c5cb3c3e102 (patch) | |
tree | 6bfb81f3add34b9c48eaf9957bc8b52bc8ca0e6b /dependencies.yaml | |
parent | c306176a7889dcc830d95fc7a8c9c5e51c3ab1c4 (diff) |
Fix screen orientation handling for basic-b2qt example
Since Qt 6.2.2 the InputPanel is not reparented anymore for modal
dialogs. The basic example contains code to handle orientation for this
case. Now, it is enough to handle orientation at the application window
level. The InputPanel orientation will follow this automatically.
In addition, for QTBUG-106895, the example uses
Screen.orientation instead Screen.primaryOrientation to detect
landscape orientation. It seems on Mac the Screen.orientation can be
Qt.PrimaryOrientation, which was incorrectly handled as portrait
orientation.
Fixes: QTBUG-106895
Task-number: QTBUG-83217
Pick-to: 6.4.0 6.4 6.2
Change-Id: Ic40d9194150334f31a236f0b6af84d59f914759c
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'dependencies.yaml')
0 files changed, 0 insertions, 0 deletions