diff --git a/src/gui/accessible/qaccessibleobject.cpp b/src/gui/accessible/qaccessibleobject.cpp index 7e1a05b2a0..b9e0ac388b 100644 --- a/src/gui/accessible/qaccessibleobject.cpp +++ b/src/gui/accessible/qaccessibleobject.cpp @@ -202,7 +202,7 @@ static QObjectList topLevelObjects() if (w->windowType() != Qt::Popup && w->windowType() != Qt::Desktop) { if (QAccessibleInterface *root = w->accessibleRoot()) { if (root->object()) - list.append(w->accessibleRoot()->object()); + list.append(root->object()); delete root; } }