mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 18:26:34 +01:00
Fix QWebEngineProfile name
Forgot to remove the original line before rewriting the condition. Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
9e7ee777da
commit
c4b68845d3
@ -302,7 +302,6 @@ MainApplication::MainApplication(int &argc, char** argv)
|
||||
else {
|
||||
m_webProfile = new QWebEngineProfile(startProfile.isEmpty() ? QSL("Default") : startProfile);
|
||||
}
|
||||
m_webProfile = isPrivate() ? new QWebEngineProfile() : new QWebEngineProfile(QSL("Default"));
|
||||
connect(m_webProfile, &QWebEngineProfile::downloadRequested, this, &MainApplication::downloadRequested);
|
||||
|
||||
m_webProfile->setNotificationPresenter([&] (std::unique_ptr<QWebEngineNotification> notification) {
|
||||
|
Loading…
Reference in New Issue
Block a user