diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-03-23 22:50:05 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-03-23 22:50:05 +0200 |
commit | a6a80f4bf83eaa1894b83755ec8785af5ed4559f (patch) | |
tree | 4635fba7cff12dc8848b19f26d8540d79cb35716 /src/webengine/webpage.cpp | |
parent | lib/configuration improvements (diff) | |
download | smolbote-a6a80f4bf83eaa1894b83755ec8785af5ed4559f.tar.xz |
Fix various compiler warnings
Diffstat (limited to 'src/webengine/webpage.cpp')
-rw-r--r-- | src/webengine/webpage.cpp | 2 |
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()); }); } |