summaryrefslogtreecommitdiffstats
path: root/src/plugins/android/qandroidwebviewplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/android/qandroidwebviewplugin.cpp')
-rw-r--r--src/plugins/android/qandroidwebviewplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/android/qandroidwebviewplugin.cpp b/src/plugins/android/qandroidwebviewplugin.cpp
index cebd5bf..bceb553 100644
--- a/src/plugins/android/qandroidwebviewplugin.cpp
+++ b/src/plugins/android/qandroidwebviewplugin.cpp
@@ -13,9 +13,9 @@ class QAndroidWebViewPlugin : public QWebViewPlugin
Q_PLUGIN_METADATA(IID QWebViewPluginInterface_iid FILE "android.json")
public:
- QAbstractWebView *create(const QString &key) const override
+ QAbstractWebView *create(const QString &key, QWebView *view) const override
{
- return (key == QLatin1String("webview")) ? new QAndroidWebViewPrivate() : nullptr;
+ return (key == QLatin1String("webview")) ? new QAndroidWebViewPrivate(view) : nullptr;
}
};