From ba88aa67a1ab3157863f6c0e8e6fdf6288d11359 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sun, 14 Jan 2018 09:16:30 +0100 Subject: [PATCH] WebPage: Remove workaround for crash in setHtml --- src/lib/webengine/webpage.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/webengine/webpage.cpp b/src/lib/webengine/webpage.cpp index 3c5058687..59a94ebeb 100644 --- a/src/lib/webengine/webpage.cpp +++ b/src/lib/webengine/webpage.cpp @@ -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()); }); }