From 9ec7bbcb96149b1ce8a2d62b55c824d71ff292a8 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Wed, 1 Sep 2010 17:29:06 +0200 Subject: Clarified the comparison statement and fixed the reference to a non-existent constructor. Reviewer: David Boddie Task: QTBUG-13244 --- src/corelib/tools/qstring.cpp | 4 ++-- 1 file 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. -- cgit v0.12