diff options
author | Frank Meerkoetter <frank.meerkoetter@basyskom.com> | 2016-05-06 12:08:20 +0200 |
---|---|---|
committer | Frank Meerkoetter <frank.meerkoetter@basyskom.com> | 2016-05-08 06:41:37 +0000 |
commit | e8995de22a0ccca932e24994c6e1861ef062983b (patch) | |
tree | 62a1e69a660c9efe5a2e3dc43e663c97843907df /src/corelib/tools | |
parent | b491fab02a6a67fcd18d8076ac802d2f8c4f6972 (diff) |
Documentation fix for QStringBuilder
The article describes two ways, not three.
Change-Id: I2b8b3c92135dd87de8a81255cddd1faf7c5455c3
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools')
-rw-r--r-- | src/corelib/tools/qstring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index 12fb30593c..27d85c6460 100644 --- a/src/corelib/tools/qstring.cpp +++ b/src/corelib/tools/qstring.cpp @@ -1148,7 +1148,7 @@ const QString::Null QString::null = { }; has a ref count of 1, whereas QString::append() needs an extra test). - There are three ways you can access this improved method of string + There are two ways you can access this improved method of string construction. The straightforward way is to include \c{QStringBuilder} wherever you want to use it, and use the \c{'%'} operator instead of \c{'+'} when concatenating strings: |