From 7f3c68316eeb9b956b39c8778f0eaa0874c37781 Mon Sep 17 00:00:00 2001 From: Christian Heimlich Date: Mon, 14 Mar 2022 03:41:51 -0400 Subject: [PATCH] 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 --- src/corelib/tools/qversionnumber.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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