[messagecomposer]: Implement protected headers for SignJob. T742
ClosedPublic

Authored by knauss on Mar 31 2020, 12:57 AM.

Details

Test Plan

run autotests successfully

Diff Detail

Repository
R94 PIM: Message Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
knauss created this revision.Mar 31 2020, 12:57 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptMar 31 2020, 12:57 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
knauss requested review of this revision.Mar 31 2020, 12:57 AM
mlaurent added inline comments.
messagecomposer/src/job/signjob.cpp
125

coding style remove <space> before "("

knauss updated this revision to Diff 79298.Apr 4 2020, 2:24 PM

cleanup.

knauss updated this revision to Diff 79735.Apr 9 2020, 8:48 PM

cleanup.

mlaurent requested changes to this revision.Apr 11 2020, 12:44 PM
mlaurent added inline comments.
messagecomposer/src/job/signjob.cpp
178

auto cjob = dynamic_cast<ContentJobBase *>(job);
Q_ASSERT(cjob);
pjob->setcontent(cjob->content());

> we use directly cjob.

This revision now requires changes to proceed.Apr 11 2020, 12:44 PM
knauss updated this revision to Diff 79937.Apr 12 2020, 3:41 PM
knauss marked 2 inline comments as done.

cleanup - do cast only one time.

mlaurent accepted this revision.Apr 13 2020, 7:53 AM
This revision is now accepted and ready to land.Apr 13 2020, 7:53 AM
This revision was automatically updated to reflect the committed changes.