I give a try to rework insertion / deletion of items in datamodel which is used in systemtray. This continues approach from D16890, what the problem is
- Right click systemtray -> configure
- Click on Entries
- Click Ok
Even only touching model dismissing dialog made index after invalid, now clicking on any entry in systray result in invalid index
Old approach tries to make optimization but that's not a right place since QML is time-to-time rewritten itself, also it sets role names incorrect to me.