diff options
author | Andreas Eliasson <andreas.eliasson@qt.io> | 2023-03-01 12:24:16 +0100 |
---|---|---|
committer | Andreas Eliasson <andreas.eliasson@qt.io> | 2023-03-01 23:31:15 +0100 |
commit | 1d60666419773ee91638c5666650a4fb62f22468 (patch) | |
tree | 60272e7961b8260ac85b650adf56e794fe99d699 /src | |
parent | 75ae9b61967dc484e91f3dbee435045e63258c84 (diff) |
Doc: Fix wrong WebEngineCertificateError property name
The correct property name should be type, not error.
Fixes: QTBUG-111574
Pick-to: 6.5 6.4
Change-Id: I276823f5bc664a99153b31e5bba36ae34608a9b9
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/doc/src/qtwebengine-overview.qdoc | 2 | ||||
-rw-r--r-- | src/webenginequick/doc/src/webengine_certificate_error.qdoc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/doc/src/qtwebengine-overview.qdoc b/src/core/doc/src/qtwebengine-overview.qdoc index 193116b3e..2e1272404 100644 --- a/src/core/doc/src/qtwebengine-overview.qdoc +++ b/src/core/doc/src/qtwebengine-overview.qdoc @@ -216,7 +216,7 @@ open SSL connections. Instead, \QWE uses the root CA certificates from the operating system to validate the peer's certificate. - The \l{WebEngineCertificateError::error} and \l{QWebEngineCertificateError::Type} enumerations + The \l{WebEngineCertificateError::type} and \l{QWebEngineCertificateError::Type} enumerations provide information about the types of certificate errors that might occur. The errors can be handled by using the WebEngineView::certificateError QML method or by connecting to the QWebEnginePage::certificateError signal. diff --git a/src/webenginequick/doc/src/webengine_certificate_error.qdoc b/src/webenginequick/doc/src/webengine_certificate_error.qdoc index aec8e2d42..93bad9fb1 100644 --- a/src/webenginequick/doc/src/webengine_certificate_error.qdoc +++ b/src/webenginequick/doc/src/webengine_certificate_error.qdoc @@ -9,7 +9,7 @@ \brief A utility type for ignoring certificate errors or rejecting erroneous certificates. - This QML type contains information about a certificate error that occurred. The \l error + This QML type contains information about a certificate error that occurred. The \l type property holds the reason that the error occurred and the \l description property holds a short localized description of the error. The \l url property holds the URL that triggered the error. @@ -49,7 +49,7 @@ The URL that triggered the error. */ /*! - \qmlproperty enumeration WebEngineCertificateError::error + \qmlproperty enumeration WebEngineCertificateError::type \readonly The type of the error. |