aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webengine/webpage.cpp')
-rw-r--r--src/webengine/webpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webengine/webpage.cpp b/src/webengine/webpage.cpp
index 15d2322..e79db9d 100644
--- a/src/webengine/webpage.cpp
+++ b/src/webengine/webpage.cpp
@@ -122,7 +122,7 @@ void WebPage::renderProcessCrashed(QWebEnginePage::RenderProcessTerminationStatu
"<p>Press <a href='%3'>here</a> to reload this tab.</p>")
.arg(tr_terminationStatus(terminationStatus), QString::number(exitCode), this->url().toEncoded()));
- QTimer::singleShot(0, this, [=]() {
+ QTimer::singleShot(0, this, [this, page]() {
setHtml(page.toUtf8(), url());
});
}