diff options
| author | Michal Klocek <michal.klocek@qt.io> | 2025-11-20 10:54:00 +0100 |
|---|---|---|
| committer | Michal Klocek <michal.klocek@qt.io> | 2025-11-27 09:57:13 +0100 |
| commit | 95a53e2467029e917d6d421a357c13d51aaa44db (patch) | |
| tree | 6aafb348744ab0238eb0bcfbf8fc00057a01fd86 /src/plugins/windows/qwebview2webview.cpp | |
| parent | ddb86461871086d3ea5f9b6d58838a2dca427a0c (diff) | |
Pass the pointer to QWebView for private counterpart
QAbstarctWebView is going to be base class of pimpl
for QWebView.
Change-Id: I58636bc5017092e1b9360d05109a305d49899043
Reviewed-by: Kaloyan Chehlarski <kaloyan.chehlarski@qt.io>
Reviewed-by: Moss Heim <moss.heim@qt.io>
Diffstat (limited to 'src/plugins/windows/qwebview2webview.cpp')
| -rw-r--r-- | src/plugins/windows/qwebview2webview.cpp | 4 |
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) |
