mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
MainApplication: Create private browsing QWebEngineProfile without parent
Fixes crash on shutdown
This commit is contained in:
parent
c5e1aab96a
commit
eb4b68fdd9
|
@ -283,7 +283,7 @@ MainApplication::MainApplication(int &argc, char** argv)
|
|||
|
||||
NetworkManager::registerSchemes();
|
||||
|
||||
m_webProfile = isPrivate() ? new QWebEngineProfile(this) : QWebEngineProfile::defaultProfile();
|
||||
m_webProfile = isPrivate() ? new QWebEngineProfile() : QWebEngineProfile::defaultProfile();
|
||||
connect(m_webProfile, &QWebEngineProfile::downloadRequested, this, &MainApplication::downloadRequested);
|
||||
|
||||
m_networkManager = new NetworkManager(this);
|
||||
|
|
Loading…
Reference in New Issue
Block a user