From 024ec9c564abfbe9aadd2193deeaa0d37464119a Mon Sep 17 00:00:00 2001 From: Sze Howe Koh Date: Sat, 29 Aug 2020 18:58:02 +0800 Subject: Doc: Fix minor typos Pick-to: 5.15 Change-Id: I4c51c40697e410d56b6a2d2446ed9f8ae218576d Reviewed-by: Samuel Gaist --- src/qml/qml/v8/qqmlbuiltinfunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/v8/qqmlbuiltinfunctions.cpp') diff --git a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp index cbcbf1da19..d0f049039b 100644 --- a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp +++ b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp @@ -1164,7 +1164,7 @@ Example (where \c parentItem is the id of an existing QML item): \snippet qml/createQmlObject.qml 0 -In the case of an error, a \l {Qt Script} Error object is thrown. This object has an additional property, +In the case of an error, a QQmlError object is thrown. This object has an additional property, \c qmlErrors, which is an array of the errors encountered. Each object in this array has the members \c lineNumber, \c columnNumber, \c fileName and \c message. For example, if the above snippet had misspelled color as 'colro' then the array would contain an object like the following: -- cgit v1.2.3