From f99ab73f19e0e57e9c7defc67448c0bebbbe9b90 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Fri, 23 Mar 2012 14:12:33 +0100 Subject: Do not send QEvent::AccessibilityPrepare. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/gui/accessible/qaccessible.cpp | 3 --- 1 file changed, 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()); -- cgit v0.12