Instanciate the launcher tasks model only when needed.
ClosedPublic

Authored by hein on Aug 9 2016, 9:10 AM.

Details

Summary

Previously the launcher tasks model was always instanciated; with
this change it's only done once a launcher list gets set or a
request to add a launcher happens. This avoids an unnecessary model
in TasksModel instances that will never store any launchers (e.g.
in the Window List applet).

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
hein updated this revision to Diff 5757.Aug 9 2016, 9:10 AM
hein retitled this revision from to Instanciate the launcher tasks model only when needed..
hein updated this object.
hein edited the test plan for this revision. (Show Details)
hein added reviewers: Plasma, davidedmundson.
hein added a subscriber: plasma-devel.
Restricted Application added a project: Plasma. · View Herald TranscriptAug 9 2016, 9:10 AM
mart accepted this revision.Aug 9 2016, 9:58 AM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Aug 9 2016, 9:58 AM
This revision was automatically updated to reflect the committed changes.