diff options
Diffstat (limited to 'src/webview/qwebviewfactory.cpp')
| -rw-r--r-- | src/webview/qwebviewfactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview/qwebviewfactory.cpp b/src/webview/qwebviewfactory.cpp index f4a2b15..05ec09e 100644 --- a/src/webview/qwebviewfactory.cpp +++ b/src/webview/qwebviewfactory.cpp @@ -19,12 +19,12 @@ static QString getPluginName() return name; } -QAbstractWebView *QWebViewFactory::createWebView() +QAbstractWebView *QWebViewFactory::createWebView(QWebView *view) { QAbstractWebView *wv = nullptr; QWebViewPlugin *plugin = getPlugin(); if (plugin) - wv = plugin->create(QStringLiteral("webview")); + wv = plugin->create(QStringLiteral("webview"), view); if (!wv || !plugin) { qFatal("No WebView plug-in found!"); |
