diff options
author | Jerome Pasion <jerome.pasion@nokia.com> | 2010-09-01 15:29:06 (GMT) |
---|---|---|
committer | Jerome Pasion <jerome.pasion@nokia.com> | 2010-09-01 15:29:06 (GMT) |
commit | 9ec7bbcb96149b1ce8a2d62b55c824d71ff292a8 (patch) | |
tree | 954466fa0217defb353207ddbff4a78ad17b9b7a | |
parent | ba9366665bf5d0403f64a25587be9a2eb1b3f6fd (diff) | |
download | Qt-9ec7bbcb96149b1ce8a2d62b55c824d71ff292a8.zip Qt-9ec7bbcb96149b1ce8a2d62b55c824d71ff292a8.tar.gz Qt-9ec7bbcb96149b1ce8a2d62b55c824d71ff292a8.tar.bz2 |
Clarified the comparison statement and fixed the reference to a non-existent constructor.
Reviewer: David Boddie
Task: QTBUG-13244
-rw-r--r-- | src/corelib/tools/qstring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index 120d971..3984420 100644 --- a/src/corelib/tools/qstring.cpp +++ b/src/corelib/tools/qstring.cpp @@ -3953,8 +3953,8 @@ QString QString::fromUtf8(const char *str, int size) This function checks for a Byte Order Mark (BOM). If it is missing, host byte order is assumed. - This function is comparatively slow. - Use QString(const ushort *, int) or QString(const ushort *) if possible. + This function is slow compared to the other Unicode conversions. + Use QString(const QChar *, int) or QString(const QChar *) if possible. QString makes a deep copy of the Unicode data. |