summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginepage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/api/qwebenginepage.cpp')
-rw-r--r--src/core/api/qwebenginepage.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/api/qwebenginepage.cpp b/src/core/api/qwebenginepage.cpp
index 17a790d9f..b69fdfb92 100644
--- a/src/core/api/qwebenginepage.cpp
+++ b/src/core/api/qwebenginepage.cpp
@@ -2225,18 +2225,16 @@ QSizeF QWebEnginePage::contentsSize() const
while holding Shift, Ctrl, or a built-in combination that triggers the page to open
in a new window.
- The signal is handled by calling acceptAsNewWindow() on the destination page.
+ The signal is handled by calling openIn() with the new page on the request.
If this signal is not handled, the requested load will fail.
\note This signal is not emitted if \l createWindow() handled the request first.
- \sa createWindow()
+ \sa createWindow(), QWebEngineNewWindowRequest::openIn()
*/
/*!
- Handles the newWindowRequested() signal by opening the \a request in this page.
- \since 6.2
- \sa newWindowRequested()
+ \internal
*/
void QWebEnginePage::acceptAsNewWindow(QWebEngineNewWindowRequest &request)
{