D19559: Reassign ownership of QWebEngineProfile in MailWebEnginePage, to avoid crash on KMail exit or viewer window close

Jonathan Marten noreply at phabricator.kde.org
Thu Mar 7 12:02:47 GMT 2019


marten updated this revision to Diff 53357.
marten added a comment.


  There's always a better way to do it...
  
  Handle the profile entirely within the MailWebEnginePage, since the MailWebEngineView doesn't do anything with it.  Allows one MailWebEnginePage constructor, and the explicit destructor, to be eliminated.

REPOSITORY
  R94 PIM: Message Library

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D19559?vs=53340&id=53357

REVISION DETAIL
  https://phabricator.kde.org/D19559

AFFECTED FILES
  messageviewer/src/viewer/webengine/mailwebenginepage.cpp
  messageviewer/src/viewer/webengine/mailwebenginepage.h
  messageviewer/src/viewer/webengine/mailwebengineview.cpp

To: marten, #kde_pim
Cc: anthonyfieroni, dvratil, kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190307/a305a89e/attachment.html>


More information about the kde-pim mailing list