Fix documentation about QStringLiteral
authorKai Koehne <kai.koehne@digia.com>
Thu, 5 Jun 2014 14:42:58 +0000 (16:42 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 6 Jun 2014 11:19:52 +0000 (13:19 +0200)
commit7ec49393131461e07554f37042db16b5462a5565
tree411dd12865f53ca425844916e16960d378fa3f13
parentbc9423316f373a5baa63aa47b9ab340d34c9d6ac
Fix documentation about QStringLiteral

The fallback for QStringLiteral in case C++11 features are not enabled
is QString::fromUtf8(), not QLatin1String().

Also, the result of a QStringLiteral expression _is_ a QString.

Change-Id: Ib9c2f4c13fff237de3acb2e0f64027bacea6271c
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/tools/qstring.cpp