diff options
| author | Jan Arve Saether <jan-arve.saether@digia.com> | 2012-12-07 15:29:06 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-11 18:34:19 +0100 |
| commit | ced154500de1dde42033579a7b29494934d8a02d (patch) | |
| tree | 97fa07da70f8714a2f26860e2843ae8a090d7c8e /doc/src/snippets/pointer/pointer.cpp | |
| parent | 03e1e4138ccf6b73c73b2fed6db0e740af43ef76 (diff) | |
a11y: Do not refer to destructed QObject in Windows bridge
The crash could happen if a QWidget in the UI got deleted, and
the AT client later tried to access the widget through the cache
(qAccessibleRecentSentEvents()).
Solution: Use a QPointer as a guard.
Task-number: QTBUG-26187
Change-Id: I1aa716766626cf171757e76ba255a6d5ae4fd854
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'doc/src/snippets/pointer/pointer.cpp')
0 files changed, 0 insertions, 0 deletions
