summaryrefslogtreecommitdiffstats
path: root/src/webview/qwebview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/qwebview.cpp')
-rw-r--r--src/webview/qwebview.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webview/qwebview.cpp b/src/webview/qwebview.cpp
index 1865c7e..8c1b804 100644
--- a/src/webview/qwebview.cpp
+++ b/src/webview/qwebview.cpp
@@ -152,6 +152,12 @@ void QWebView::setFocus(bool focus)
d->setFocus(focus);
}
+void QWebView::loadHtml(const QString &html, const QUrl &baseUrl)
+{
+ Q_D(QWebView);
+ d->loadHtml(html, baseUrl);
+}
+
void QWebView::runJavaScriptPrivate(const QString &script,
int callbackId)
{