Add QByteArray overload for the QLatin1String ctor.
authorStephen Kelly <stephen.kelly@kdab.com>
Wed, 14 Mar 2012 14:36:50 +0000 (15:36 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Mar 2012 20:46:55 +0000 (21:46 +0100)
commit2c944d6b9dd7d750835cca491aac60825cd7d1ed
tree9abf4665ae39d7f3945341bd69fc7824d824f754
parentded80cfc8a3f258a85954b4fd19063f9988f3744
Add QByteArray overload for the QLatin1String ctor.

This increases source compatibility when QT_NO_CAST_FROM_BYTEARRAY
is used.

Change-Id: Ie1a1cfa8acac2fa91aa8f217d91e22289be8b38f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/tools/qstring.cpp
src/corelib/tools/qstring.h