Qt.locale() always returns the 'C' locale.
authorMartin Jones <martin.jones@nokia.com>
Tue, 20 Dec 2011 01:02:10 +0000 (11:02 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 20 Dec 2011 05:37:53 +0000 (06:37 +0100)
commitf0c82e77aa2811c326c543468fc422c18ca98a47
treed8fb0d1338fe7d4c741c506cd6c3f42314d9896a
parent2ac33932be979452e1d4fa3ec4e6b6a301e5f6e4
Qt.locale() always returns the 'C' locale.

QLocale(QString()) does not return the default locale.  If no
locale is specified, use the QLocale() constructor.

Change-Id: I76198b7ea66a6326483ec47ac36e080159ca459a
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/qml/qdeclarativelocale.cpp
tests/auto/declarative/qdeclarativelocale/tst_qdeclarativelocale.cpp