diff options
| author | Kai Köhne <kai.koehne@qt.io> | 2024-07-17 09:47:15 +0200 |
|---|---|---|
| committer | Kai Köhne <kai.koehne@qt.io> | 2024-07-24 11:18:47 +0200 |
| commit | e00a032eac1a234c0846571a0e8a6ac1e5c411b7 (patch) | |
| tree | ad6e5ff8f0ab61585280a2dc30f3924fa4828a51 /src/corelib/serialization/qjsonparser.cpp | |
| parent | 7f0450a47f2cab8c0482131475eba7162f4bdf8f (diff) | |
Doc: Make it explicit what QJsonParseError::offset refers to
Pick-to: 6.2 6.5 6.7 6.8
Change-Id: I278929f89e9e6f9f4461558dc0dd949d0455dcb1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/serialization/qjsonparser.cpp')
| -rw-r--r-- | src/corelib/serialization/qjsonparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/serialization/qjsonparser.cpp b/src/corelib/serialization/qjsonparser.cpp index ba4887225d8..1e253a0fb14 100644 --- a/src/corelib/serialization/qjsonparser.cpp +++ b/src/corelib/serialization/qjsonparser.cpp @@ -102,9 +102,9 @@ using namespace QtMiscUtils; /*! \variable QJsonParseError::offset - Contains the offset in the input string where the parse error occurred. + Contains the byte offset in the UTF-8 byte array where the parse error occurred. - \sa error, errorString() + \sa error, errorString(), QJsonDocument::fromJson() */ /*! |
