aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qquickmenu/data/instantiatorWithItemsBeforeAndAfter.qml
Commit message (Collapse)AuthorAgeFilesLines
* Fix Instantiator-created MenuItems disappearingMitch Curtis2018-11-021-0/+88
When d5cb26bc fixed a bug in Menu, it also broke the use case of having an Instantiator create menu items. Using an Instantiator like this allows users to create a "Recent Files" menu, for example. The issue was that we would indiscriminately recreate items, even those owned by an Instantiator. This patch avoids recreating items owned by Instantiators. It also adds a logging category for Menu, to aid debugging. Fixes: QTBUG-71066 Change-Id: Ie0e46de1cbfaee81b43d63f3143435f2514371d5 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>