Skip to content

Improve ToolbarMenuButton class constructor

The class ToolbarMenuButton always starts off with an empty list of popover children, so passing a list as a constructor argument is not needed.

The list of toolbar children, in contrast, is now passed by value and moved from; this eliminates a copy caused by the conversion of an rvalue reference to an lvalue reference.

Edited by Rafał Siejakowski

Merge request reports