Skip to content
Commit d0bdbeb6 authored by David Faure's avatar David Faure
Browse files

MessageViewer plugin: create EventEdit widget on demand.

Summary:
This avoids creating a CollectionComboBox on startup (which includes a Monitor,
an ETM and 3 proxies on top), which might never be used if the user doesn't
use the "create event" feature.

The same change should of course be done to noteedit and todoedit.

The unittest had to be adjusted because it was checking that the widget
was created upfront and hidden, which is exactly what this patch changes.

Test Plan:
Ctrl+E in kmail still brings up the event edit widget,
without any noticeable delay the first time.

Reviewers: knauss, mlaurent

Reviewed By: knauss, mlaurent

Subscribers: knauss, kde-pim, #kde_pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D2161
parent fe353ac7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment