summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-06-28 15:26:45 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-07-06 17:33:05 +0000
commit05a7dba5c2733b5893fbea8aac89af5df13d53fb (patch)
tree0e33442d3e946e456323d792219ceb09b8234bc7 /src/core
parenta060012ecef7ecc60f5518b6718136b22a10dc6b (diff)
Restore WebEngineNewViewRequest::openIn method
Change-Id: Ib765970d4c57f742a53cd4d2c870b00628d527aa Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit ca4ba8beb736efcd95445cc801e2b5a77642a931) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/api/qwebenginenewwindowrequest.cpp4
-rw-r--r--src/core/api/qwebenginenewwindowrequest.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/api/qwebenginenewwindowrequest.cpp b/src/core/api/qwebenginenewwindowrequest.cpp
index 7ef7601d7..1656bcaef 100644
--- a/src/core/api/qwebenginenewwindowrequest.cpp
+++ b/src/core/api/qwebenginenewwindowrequest.cpp
@@ -67,8 +67,8 @@ struct QWebEngineNewWindowRequestPrivate
/*!
\qmltype WebEngineNewViewRequest
- \instantiates QWebEngineNewWindowRequest
- \inqmlmodule QtWebEngine
+ \instantiates QQuickWebEngineNewViewRequest
+ \inqmlmodule QtWebEngineQuick
\since QtWebEngine 1.1
\brief A utility type for the WebEngineView::newViewRequested signal.
diff --git a/src/core/api/qwebenginenewwindowrequest.h b/src/core/api/qwebenginenewwindowrequest.h
index 5af850ebe..89a169722 100644
--- a/src/core/api/qwebenginenewwindowrequest.h
+++ b/src/core/api/qwebenginenewwindowrequest.h
@@ -78,7 +78,7 @@ public:
QRect requestedGeometry() const;
bool isUserInitiated() const;
-private:
+protected:
QWebEngineNewWindowRequest(DestinationType, const QRect &, const QUrl &, bool,
QSharedPointer<QtWebEngineCore::WebContentsAdapter>,
QObject * = nullptr);