Don't consider QLocale a value type.
authorMitch Curtis <mitch.curtis@theqtcompany.com>
Tue, 25 Aug 2015 13:43:56 +0000 (15:43 +0200)
committerMitch Curtis <mitch.curtis@theqtcompany.com>
Wed, 2 Sep 2015 13:35:03 +0000 (13:35 +0000)
commitd1b20513798ed441afddb87fd4e7facce78349e1
tree48591126eb3355f95509c3df5835f8a5b5b6bd2e
parent70592075464dad3f8fef173422a30a06eaed3d80
Don't consider QLocale a value type.

This fixes a regression where all of the properties of
Qt.inputMethod.locale were undefined.

Change-Id: Id33890a78296709baad6aeda96d74ca8cb39c61d
Task-number: QTBUG-47916
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/qml/qml/qqmlvaluetype.cpp
tests/auto/qml/qqmlvaluetypes/data/locale_read.qml [new file with mode: 0644]
tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp