danders added a comment.
In D29542#668076 <https://phabricator.kde.org/D29542#668076>, @anthonyfieroni wrote: > `d->rootPart->createView(doc, this);` Creates the view which parent is main window. Ahh, yes, but then... Why will it not crash if a new document is set so that d->rootView != 0 ? REPOSITORY R8 Calligra REVISION DETAIL https://phabricator.kde.org/D29542 To: anthonyfieroni, boemann, danders, #calligra:_3.0 Cc: Calligra-Devel-list, davidllewellynjones, dcaliste, ognarb, cochise, vandenoever