Skip to content
Commit 9f0ce086 authored by Jonathan Marten's avatar Jonathan Marten
Browse files

Move management of QWebEngineProfile to WebEnginePage

To avoid a crash on KMail quit or viewer window close, caused by the
MailWebEnginePage being deleted while its QWebEngineProfile is still
active.  Simplified management of the profile by handling its creation
and deletion within WebEnginePage.

Deprecate the 2-argument WebEnginePage constructor which allows an
already allocated profile to be used.  This constructor is used by
Akregator which specifies the global profile; it will be changed to
use a private profile instead.

Differential Revision: https://phabricator.kde.org/D19559
parent 9434c5fc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment