path: root/src/gui
diff options
authorFrederik Gladhorn <>2012-02-12 12:35:12 +0100
committerQt by Nokia <>2012-03-05 18:46:43 +0100
commitf449cefc27fc321f96aadbcb0f0a46e6f7a2b0b4 (patch)
tree49fc2895d204df3948ffc6742ebcff6d943b349a /src/gui
parentb7ba68515023995e998039d92780dded8bbfd325 (diff)
Remove AccessibilityPrepare event.
This event was completely unused. In addition it leads to crashes on linux when sending the Destroy accessibility update. The Destroy event on linux would still query an accessible interface. That in turn would trigger the event to be sent. Change-Id: I8915527de067b8b70ba41b1361e3ef5d12866d7d Reviewed-by: Frederik Gladhorn <> Reviewed-by: Jan-Arve Sæther <>
Diffstat (limited to 'src/gui')
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/accessible/qaccessible.cpp b/src/gui/accessible/qaccessible.cpp
index aa47616161..e5b290ae1f 100644
--- a/src/gui/accessible/qaccessible.cpp
+++ b/src/gui/accessible/qaccessible.cpp
@@ -571,10 +571,6 @@ QAccessibleInterface *QAccessible::queryAccessibleInterface(QObject *object)
if (!object)
return 0;
- QEvent e(QEvent::AccessibilityPrepare);
- QCoreApplication::sendEvent(object, &e);
const QMetaObject *mo = object->metaObject();
while (mo) {
const QLatin1String cn(mo->className());