QTBUG-26035: Remove positive sign from start of string
authorTarja Sundqvist <tarja.sundqvist@digia.com>
Fri, 8 Jun 2012 08:33:41 +0000 (11:33 +0300)
committerQt by Nokia <qt-info@nokia.com>
Tue, 26 Jun 2012 06:14:17 +0000 (08:14 +0200)
commit0a6dc44f248c05bf179069e8cb3c2aebbeee7ac6
treeadd2ce4cf3994672a3f07cb35f3789a4e82adf97
parented96d199f197b2f82fa3ad19484a809ec1c0a4a4
QTBUG-26035: Remove positive sign from start of string

Updated removeGroupSeparators(QLocalePrivate::CharBuff *num) so that it
removes also positive sign ('+') at the start of the string. Auto test
included.

Task-number: QTBUG-26035

Change-Id: I8e0e071d6c682d9192a8c6bb2f282510e21b3c48
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
src/corelib/tools/qlocale_tools.cpp
tests/auto/corelib/tools/qlocale/tst_qlocale.cpp