diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-04-29 16:45:33 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-09 17:25:19 +0200 |
commit | 667f2449a300950e735250c62686c150dab0080d (patch) | |
tree | 6fe78f5b4934a43db4122dbf30895202e42ed36c /src/platformsupport/eglconvenience/qeglplatformbackingstore.cpp | |
parent | 775f1f777b6e517a903cb3e7ad39eaa29e1b427a (diff) |
Fix crash on startup when running screenreader
For exaple Qt Creator would crash when started and a screen reader (eg
NVDA) is running. This is due to updateAccessibility being called during
the ctor of the TextEdit and on Windows the AT can access properties in
the same call resulting in accessing the text control before it's fully
constructed.
Also make sure to not send accessibility updates for non-widget type edits
since we don't support any accessibility in Qt Quick 1.
Backported from Qt 5.3.1 since it also crashes Qt Creator on startup on
Mac (as soon as accessibility is enabled which may be for various
reasons, and basically any app that uses a QTextEdit).
Task-number: QTBUG-38659
Task-number: QTBUG-38738
Change-Id: I6e5c0dc47bd75e63fe013a9edadbabccd52c20ee
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'src/platformsupport/eglconvenience/qeglplatformbackingstore.cpp')
0 files changed, 0 insertions, 0 deletions