Skip to content

Move context menu action creation in a method

Marco Martin requested to merge work/mart/onDemandContextMenu into master

They are done in a role at them moment, but all roles are queried from the moment at the moment of the delegate creation (either for the population of the model.* context property or when a section is used so since this can be expensive, move it in a method which will be called only at the act of building the menu when the user presses the right button.

CCBUG: 435600

Edited by Marco Martin

Merge request reports