Simplify AppMenu menu management

Authored by davidedmundson on Jan 11 2017, 2:00 PM.

Description

Simplify AppMenu menu management

Summary:
Instead of having a menu from the importer and our custom vertical menu
then syncing entries we can simply use the factory method in
DBusMenuImporter to create our custom one from the start.

This makes memory management easier as we only need to worry about the
importer which implicitly owns the menu.

Test Plan: Ran in-window menu, everything worked for me perfectly.

Reviewers: Plasma, broulik

Reviewed By: Plasma, broulik

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonJan 11 2017, 2:00 PM
Reviewer
Plasma
Differential Revision
D4062: Simplify AppMenu menu management
Parents
R120:e872d1cd4640: Replace recursive layout loading with dynamic loading
Branches
Unknown
Tags
Unknown