diff --git a/src/gui/accessible/qaccessible.cpp b/src/gui/accessible/qaccessible.cpp index f41afd52ef..1aca51741e 100644 --- a/src/gui/accessible/qaccessible.cpp +++ b/src/gui/accessible/qaccessible.cpp @@ -860,8 +860,7 @@ void QAccessible::updateAccessibility(QAccessibleEvent *event) #ifndef QT_NO_ACCESSIBILITY if (event->type() == QAccessible::TableModelChanged) { - Q_ASSERT(event->object()); - if (QAccessibleInterface *iface = QAccessible::queryAccessibleInterface(event->object())) { + if (QAccessibleInterface *iface = event->accessibleInterface()) { if (iface->tableInterface()) iface->tableInterface()->modelChange(static_cast(event)); }