1
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:
David Rosca 2018-01-14 09:16:30 +01:00
parent 4d58781c13
commit ba88aa67a1

View File

@ -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());
});
}