slint/internal/compiler/generator
Tobias Hunger 416aa42d90 Component: Replace parent_item to parent_node
Remove the `parent_item` function. After the recent changes that did not
return an item anymore and since the item tree is exposed, this function
was only used to find the repeater a component was created by.

So replace the old function with a new one that only returns the parent
node in the parent component.

This saves a few lines of generated code that is not used anymore.

Co-authored-by: Simon Hausmann <hausmann@gmail.com>
2022-04-20 14:29:18 +02:00
..
cpp.rs Component: Replace parent_item to parent_node 2022-04-20 14:29:18 +02:00
rust.rs Component: Replace parent_item to parent_node 2022-04-20 14:29:18 +02:00