summaryrefslogtreecommitdiffstats
path: root/src/plugins/wasm/qwasmwebview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/wasm/qwasmwebview.cpp')
-rw-r--r--src/plugins/wasm/qwasmwebview.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/wasm/qwasmwebview.cpp b/src/plugins/wasm/qwasmwebview.cpp
index ca93c5e..31a7579 100644
--- a/src/plugins/wasm/qwasmwebview.cpp
+++ b/src/plugins/wasm/qwasmwebview.cpp
@@ -195,11 +195,12 @@ void QWasmWebViewPrivate::deleteAllCookies()
qWarning("deleteAllCookies() not supported on this platform");
}
-void QWasmWebViewPrivate::runJavaScriptPrivate(const QString &script, int callbackId)
+void QWasmWebViewPrivate::runJavaScript(const QString &script,
+ const std::function<void(const QVariant &)> &resultCallback)
{
Q_UNUSED(script);
- Q_UNUSED(callbackId);
- qWarning("runJavaScriptPrivate() not supported on this platform");
+ Q_UNUSED(resultCallback);
+ qWarning("runJavaScript() not supported on this platform");
}
QWebViewSettingsPrivate *QWasmWebViewPrivate::settings() const