Register IMAP D-Bus interfaces before the service gets registered
ClosedPublic

Authored by vkrause on Apr 5 2020, 8:52 AM.

Details

Summary

The account wizard accesses this right after the service is registered,
so we need to have this done in the ctor. I suspect this was done delayed,
as settings() is virtual and therefore calling that in the base ctor isn't
giving us the desired result. Calling it in every leaf ctor is ugly, but
given we want to phase out the Kolab resource anyway, this problem is going
away over time.

Diff Detail

Repository
R44 KDE PIM Runtime
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vkrause created this revision.Apr 5 2020, 8:52 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptApr 5 2020, 8:52 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
vkrause requested review of this revision.Apr 5 2020, 8:52 AM
dfaure accepted this revision.Apr 5 2020, 8:57 AM
This revision is now accepted and ready to land.Apr 5 2020, 8:57 AM
This revision was automatically updated to reflect the committed changes.