mirror of
https://github.com/allankoechke/slint.git
synced 2026-11-30 17:26:35 +00:00
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>