aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-04-15 19:13:05 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-04-16 14:29:55 +0200
commit9cd1e7902ce882a54e369556068f2707090df658 (patch)
treec581708059b88ea22726983fe06c7b3ab3886001 /src/imports
parent7fc9e671077a09294a62b160a4aa0fb006192956 (diff)
Fix QQmlContext::nameForObject()
nameForObject() should not search the linked contexts. Linked contexts are not reachable from the "head" context in QML. However, it should search context objects, just like contextProperty() does. [ChangeLog][QtQml][Important Behavior Changes] QQmlContext::nameForObject() now finds properties of context objects, but it does not search unrelated other ("linked") contexts anymore. Change-Id: Ic6e01fddf3e2d4b3a1bc7308e126f47fae7cd6d1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/imports')
0 files changed, 0 insertions, 0 deletions