Diffusion KMail 97e165dcf5a8

Fix kontact crash on logout.

Authored by dfaure on Jun 6 2019, 4:10 PM.

Description

Fix kontact crash on logout.

Summary:
KMail was creating new Akonadi jobs during mainwindow destruction,
due to not testing the bool in GuiActivateEvent.

Same bt in bug 404881, apparently quitting from the akregator tray icon
[which quits all of kontact... separate issue...] gave the same crash.

BUG: 404881
FIXED-IN: 19.04.2

Test Plan: Run kontact, logout. Hello Drkonqi.

Reviewers: mlaurent, winterz

Reviewed By: mlaurent, winterz

Subscribers: kde-pim

Tags: KDE PIM

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

Details

Committed
dfaureJun 6 2019, 5:50 PM
Reviewer
mlaurent
Differential Revision
D21626: Fix kontact crash on logout.
Parents
R206:6e3c652fcad5: Fix warning about Qt::AA_EnableHighDpiScaling
Branches
Unknown
Tags
Unknown