mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
WebPage: Remove workaround for crash in setHtml
This commit is contained in:
parent
4d58781c13
commit
ba88aa67a1
@ -365,7 +365,6 @@ void WebPage::renderProcessTerminated(QWebEnginePage::RenderProcessTerminationSt
|
||||
page.replace(QL1S("%LI-2%"), tr("Try reloading the page or closing some tabs to make more memory available."));
|
||||
page.replace(QL1S("%RELOAD-PAGE%"), tr("Reload page"));
|
||||
page = QzTools::applyDirectionToPage(page);
|
||||
load(url()); // Workaround for QtWebEngine crash
|
||||
setHtml(page.toUtf8(), url());
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user