summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qversionnumber.cpp
diff options
context:
space:
mode:
authorChristian Heimlich <chris@pcserenity.com>2022-03-14 03:41:51 -0400
committerChristian Heimlich <chris@pcserenity.com>2022-03-15 02:48:44 -0400
commit7f3c68316eeb9b956b39c8778f0eaa0874c37781 (patch)
treec37c6fe09c698b95a9d2f242f422930bdaa75202 /src/corelib/tools/qversionnumber.cpp
parent9b8015ed8d4dcfc3ac3dd15fb5a2edf16ff639db (diff)
QVersionNumber: Make documentation period display style consistent
In the current documentation for this class there are two ways that the period character is referred to. Code Style: https://doc.qt.io/qt-6/qversionnumber.html#fromString Quote Style: https://doc.qt.io/qt-6/qversionnumber.html#fromString-1 The code-style version is significantly clearer and clean looking, while the quote-style version is easy to misinterpret, especially when followed by an additional period at the end of a sentence. This change updates the documentation so that the nicer style is used in all locations to improve clarity and consistency. Change-Id: I11a6d82accb923e24c00b93728ea084d27efd06d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qversionnumber.cpp')
-rw-r--r--src/corelib/tools/qversionnumber.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qversionnumber.cpp b/src/corelib/tools/qversionnumber.cpp
index 466a8cc64e..3f70d42ae3 100644
--- a/src/corelib/tools/qversionnumber.cpp
+++ b/src/corelib/tools/qversionnumber.cpp
@@ -415,7 +415,7 @@ QString QVersionNumber::toString() const
\since 6.4
Constructs a QVersionNumber from a specially formatted \a string of
- non-negative decimal numbers delimited by '.'.
+ non-negative decimal numbers delimited by a period (\c{.}).
Once the numerical segments have been parsed, the remainder of the string
is considered to be the suffix string. The start index of that string will be