summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qstring/tst_qstring.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-09-21 16:24:41 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2016-08-05 14:53:33 +0000
commit4b63ab9a93dfcdad5bdcce3aa437e16598233ca1 (patch)
tree6f815086da1f88c82374f766fa5c67fe0562b82a /tests/auto/corelib/tools/qstring/tst_qstring.cpp
parent2cd2cba0868efb7e8dd2d00805f1a5ceed0a1349 (diff)
QJsonValue::toVariant(): Differentiate between null and invalid
Both were mapped to QVariant() before. Instead, use a null pointer QVariant for a null JSON value. [ChangeLog][QtCore][QJsonValue] QJsonValue(Null).toVariant() now returns a QVariant of type QMetaType::Nullptr instead of an invalid QVariant. Task-number: QTBUG-43077 Change-Id: Ife611f418583dbff542210bc8c5cd65201212a6e Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools/qstring/tst_qstring.cpp')
0 files changed, 0 insertions, 0 deletions