Diffusion KMail 2f6f2bab0562

fix crash when mapping unified mailboxes to collections

Authored by jaham on Feb 27 2019, 8:16 PM.

Description

fix crash when mapping unified mailboxes to collections

Summary:
when the fetched unified mailbox collections and loaded mailboxes differ then
trying to get a loaded mailbox using the collection name may fail.
wrapping the call in a try-catch block fixes the crash

Reviewers: dvratil, mlaurent

Reviewed By: mlaurent

Subscribers: kde-pim

Tags: KDE PIM

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

Details

Committed
jahamFeb 28 2019, 9:49 PM
Reviewer
mlaurent
Differential Revision
D19323: fix crash when mapping unified mailboxes to collections
Parents
R206:9267ab7ca1a8: Remove deprecated methods
Branches
Unknown
Tags
Unknown