Add lazy instantiation for submenus

Authored by cordlandwehr on Mar 8 2019, 6:34 PM.

Description

Add lazy instantiation for submenus

Summary:
Items of submenus are only required when the respective submenu is
becoming visible. Setting the intantiator to active only when the
menu is visible avoids loading all submenus at once.

Reviewers: apol, mart

Reviewed By: apol

Subscribers: plasma-devel

Tags: Kirigami

Differential Revision: https://phabricator.kde.org/D19654

Details

Committed
cordlandwehrMar 11 2019, 6:29 PM
Reviewer
apol
Differential Revision
D19654: Add lazy instantiation for submenus
Parents
R169:ecc92cc04a15: fix toolbars for layers
Branches
Unknown
Tags
Unknown