summaryrefslogtreecommitdiffstats
path: root/src/plugins/windows/qwebview2webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/windows/qwebview2webview.cpp')
-rw-r--r--src/plugins/windows/qwebview2webview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/windows/qwebview2webview.cpp b/src/plugins/windows/qwebview2webview.cpp
index 0741261..6e71267 100644
--- a/src/plugins/windows/qwebview2webview.cpp
+++ b/src/plugins/windows/qwebview2webview.cpp
@@ -105,8 +105,8 @@ void QWebview2WebViewSettingsPrivate::setAllowFileAccess(bool enabled)
m_allowFileAccess = enabled;
}
-QWebView2WebViewPrivate::QWebView2WebViewPrivate(QObject *parent)
- : QAbstractWebView(parent),
+QWebView2WebViewPrivate::QWebView2WebViewPrivate(QWebView *view)
+ : QAbstractWebView(view),
m_settings(new QWebview2WebViewSettingsPrivate(this)),
m_window(new QWindow),
m_isLoading(false)