Skip to content

ActionsMenu: Properly cleanup the menu

Aleix Pol Gonzalez requested to merge work/apol/properly-cleanup-submenus into master
  • Make sure items we created get destroyed as they are removed.
  • Do not access modelData on remove. It might already be too late and the data is destroyed. Instead just store the data.

This addresses, at least, Discover sources menu that updates itself as you use it, which would grow indefinitely.

Merge request reports

Loading