Commit 80872d0a authored by Frederik Gladhorn's avatar Frederik Gladhorn Committed by Qt by Nokia
Browse files

Create accessible interfaces only for items with attached prop


If the attached property is not found, ignore the item, unless
it is part of the tree. We still create a valid hierarchy this
way, but filter out all irrelevant items. The same goes for
hit-testing.

On the other hand this patch enables the root item to be found
by setting isAccessible on it when updating the flags. Otherwise
the hierarchy is not valid again.

Change-Id: Ied422fd0506d13458757c87a5dad7cdb9d3079bf
Reviewed-by: default avatarJan-Arve Sæther <jan-arve.saether@nokia.com>
parent 3bac6c91
No related merge requests found
Showing with 18 additions and 10 deletions
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