qsTranslate shouldn't require an encoding argument
authorLars Knoll <lars.knoll@nokia.com>
Sun, 6 May 2012 21:14:36 +0000 (23:14 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 8 May 2012 22:56:16 +0000 (00:56 +0200)
commit4822a821facbbf834c6aab5a8a7da2b3e43f09f7
tree308ed131b2888f870e05f7b7260fe38f270c19f1
parent2c4c7a38aa59e4b9970abd6456df99d597b3c45a
qsTranslate shouldn't require an encoding argument

The encoding is anyway utf-8 in all case, so we can just
as well get rid of the argument. Support the old syntax
for backwards compatibility, but issue a qWarning when it's
being used.

The new syntax simply removes the encoding as 4th argument.

Change-Id: Ib34aec58997a4f026440385e8ed763ef953674d8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/qml/qml/v8/qqmlbuiltinfunctions.cpp