diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-05-02 12:55:49 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-03 11:33:05 +0200 |
commit | 9c75a547a0eddd8913ec5f1a49b5ba5749f50973 (patch) | |
tree | 285dbfad626d3614b2757fe32fa03ca56ed04f91 /src/corelib/doc | |
parent | d9f4b130aa1c529c50d1e7a9d55c13de7ea72b08 (diff) |
Remove references to to/fromAscii in QString and QByteArray main docs
Those functions are about to be deprecated and shouldn't be referred
to in the main documentation. Since they were temporarily changed to
mean UTF-8, this is not a behaviour change.
The next commit will update the code to match the documentation.
Change-Id: Ia8c2843c7f2b478f5691fe0224d5e631d94b1af6
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/doc')
-rw-r--r-- | src/corelib/doc/snippets/qstring/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/doc/snippets/qstring/main.cpp b/src/corelib/doc/snippets/qstring/main.cpp index d7299e80d5..1626c4a93b 100644 --- a/src/corelib/doc/snippets/qstring/main.cpp +++ b/src/corelib/doc/snippets/qstring/main.cpp @@ -765,7 +765,7 @@ void Widget::sprintfFunction() char buf[BufSize]; ::snprintf(buf, BufSize, "%lld", 123456789LL); - QString str = QString::fromAscii(buf); + QString str = QString::fromUtf8(buf); //! [63] //! [64] |