summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-03-30 15:19:21 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-03-30 15:28:49 (GMT)
commit51a59f48f5b92e1c55dae5da0ffa9fbb492abc6b (patch)
tree00ca2609b25f3a6bb542de56ecc7f587b5ce1b2f /src/corelib/tools
parent259175c6d55d7add0b25fd552b9dadc256e45def (diff)
downloadQt-51a59f48f5b92e1c55dae5da0ffa9fbb492abc6b.zip
Qt-51a59f48f5b92e1c55dae5da0ffa9fbb492abc6b.tar.gz
Qt-51a59f48f5b92e1c55dae5da0ffa9fbb492abc6b.tar.bz2
Explicitely mentioned in the doc that the format string for qDebug,
qWarning and qFatal should be in Latin1. Reviewed-by: Thiago
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qstring.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp
index 1b29adc..9c637ac 100644
--- a/src/corelib/tools/qstring.cpp
+++ b/src/corelib/tools/qstring.cpp
@@ -4864,7 +4864,8 @@ QString QString::toUpper() const
a pointer to a zero-terminated array of unicode characters of type
ushort (as returned by QString::utf16()).
- \note This function expects a UTF-8 string for %s.
+ \note This function expects a UTF-8 string for %s and Latin-1 for
+ the format string.
The format string supports most of the conversion specifiers
provided by printf() in the standard C++ library. It doesn't