diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-06-03 16:50:27 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-09 17:58:00 +0000 |
commit | 70e04420eb8fbd61d7f4afd293d3ac135ca7ffd6 (patch) | |
tree | d69e20264b727879f94cc2e40734c13fd33129ed /src/core/doc/src | |
parent | af91351b817e28e26c4b00c04de1017e6dcf2f67 (diff) |
Get rid of a few redundant method variants
Use default arguments to get rid of the old method version without
breaking API.
Change-Id: I2f71b04bff491567df564c66cd98d0d04bfa0517
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
(cherry picked from commit 41c6eabd3b0c652bb8681f0ff14294a698f76b2e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/core/doc/src')
-rw-r--r-- | src/core/doc/src/qwebenginepage_lgpl.qdoc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/doc/src/qwebenginepage_lgpl.qdoc b/src/core/doc/src/qwebenginepage_lgpl.qdoc index b1a79bcae..bbe1e0110 100644 --- a/src/core/doc/src/qwebenginepage_lgpl.qdoc +++ b/src/core/doc/src/qwebenginepage_lgpl.qdoc @@ -742,8 +742,7 @@ /*! \fn void QWebEnginePage::runJavaScript(const QString &scriptSource, quint32 worldId, const std::function<void(const QVariant &)> &resultCallback) - \fn void QWebEnginePage::runJavaScript(const QString &scriptSource, quint32 worldId) - \fn void QWebEnginePage::runJavaScript(const QString &scriptSource) + \fn void QWebEnginePage::runJavaScript(const QString &scriptSource, quint32 worldId = 0) \fn void QWebEnginePage::runJavaScript(const QString &scriptSource, const std::function<void(const QVariant &)> &resultCallback) \since 5.7 |