Commit 0cad334a authored by Jan Arve Saether's avatar Jan Arve Saether Committed by The Qt Project
Browse files

Only call QA::updateAccessibility() if the "control owner" is a QWidget


QGraphicsItems are not accessible, and calling updateAccessibility()
with a QGraphicsTextItem caused the accessibility framework to try
to load a plugin for QGraphicsTextItem. Since that was not found, it
dumped this on the console:
"Cannot create accessible interface for object: QGraphicsTextItem"

Task-number: QTBUG-29720

Change-Id: I4aaa08ee6e97f03617fa08da0c6ef35992efdebf
Reviewed-by: default avatarGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
parent 57acf1b4
Showing with 2 additions and 2 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment