Fix crash when loaded in Kontact

Authored by ervin on Jun 19 2017, 7:29 PM.

Description

Fix crash when loaded in Kontact

Summary:
When loaded via the part, the PageView has the splitter as parent and so
is deleted as soon as the part gets deleted. It means it ends up deleted
before ApplicationComponents in that case, leading to a call to setModel
on an already deleted PageView.

Reviewers: franckarrecot, bensi, dfaure, jriddell

Reviewed By: dfaure

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

Details

Committed
ervinJun 25 2017, 11:39 AM
Reviewer
dfaure
Differential Revision
D6284: Fix crash when loaded in Kontact
Parents
R4:48be38c31ffd: Switch the translation system to ki18n
Branches
Unknown
Tags
Unknown