diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-05-06 12:19:46 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-05-06 21:25:38 +0000 |
commit | ee516381873857e833b53b175fd3c40e4c45a5fd (patch) | |
tree | ff6bc2cd86610afc3e5b2a1654f9fcc7ecf4498c /src/widgets/accessible | |
parent | 6eb27afcdfb6df2e620f1ec66196600f0f9ed022 (diff) |
Windows Accessibility: Recurse up to find a window.
Not all classes inheriting QAccessibleInterface implement
QAccessibleInterface::window(), so, go up the hierarchy to find
one that does.
The window is required to be able to determine the correct
scale factor for the screen when High DPI scaling is active.
Fixes multimonitor issues for QtWidgets.
Amends change d7a3b6145999d015997e26e12a7345f774b053f3.
Task-number: QTBUG-52943
Change-Id: I81733765faee4d296bd6ea046bc2cecb018eb28d
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Diffstat (limited to 'src/widgets/accessible')
0 files changed, 0 insertions, 0 deletions