diff options
author | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2012-03-23 13:12:33 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-12 05:56:37 (GMT) |
commit | f99ab73f19e0e57e9c7defc67448c0bebbbe9b90 (patch) | |
tree | 66538fa9116cd5c7d1c26b81be24c39266de689d | |
parent | b8dd42f52e70ff1c63ec21d1fe0830f34a9e1094 (diff) | |
download | Qt-f99ab73f19e0e57e9c7defc67448c0bebbbe9b90.zip Qt-f99ab73f19e0e57e9c7defc67448c0bebbbe9b90.tar.gz Qt-f99ab73f19e0e57e9c7defc67448c0bebbbe9b90.tar.bz2 |
Do not send QEvent::AccessibilityPrepare.
This leads to crashes in the unix bridge when notifying
about object destruction.
Task-number: QTBUG-25240
Change-Id: I24069a1c9e63d4c0a1f9b1336b94ab0712ac5ccf
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
-rw-r--r-- | src/gui/accessible/qaccessible.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/accessible/qaccessible.cpp b/src/gui/accessible/qaccessible.cpp index 50f5b50..dba84f4 100644 --- a/src/gui/accessible/qaccessible.cpp +++ b/src/gui/accessible/qaccessible.cpp @@ -586,9 +586,6 @@ QAccessibleInterface *QAccessible::queryAccessibleInterface(QObject *object) if (!object) return 0; - QEvent e(QEvent::AccessibilityPrepare); - QApplication::sendEvent(object, &e); - const QMetaObject *mo = object->metaObject(); while (mo) { const QLatin1String cn(mo->className()); |