From 8540ceb8c98fa225394385b6147b662adb67b58c Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Mon, 4 Oct 2010 15:55:39 +0200 Subject: Corrected doc about ASCII string. Task-number: QTBUG-13414 Reviewed-by: David Boddie --- src/corelib/tools/qstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index 5be885b..d1060d2 100644 --- a/src/corelib/tools/qstring.cpp +++ b/src/corelib/tools/qstring.cpp @@ -3891,7 +3891,7 @@ QString QString::fromLocal8Bit(const char *str, int size) /*! Returns a QString initialized with the first \a size characters - of the 8-bit string \a str. + from the string \a str. If \a size is -1 (default), it is taken to be qstrlen(\a str). -- cgit v0.12