Loading
Reparent menu actions to the temporarily created QMenu in global menu
- Reparent menu actions to the temporarily created QMenu in global menu
Otherwise, the search action will try to manipulate the menu of the search action, but it will only change the empty one, and not the one that we are displaying. By reparenting we make sure that all changes are applied to the shown menu.