qt5base-lts/tests/auto/corelib/kernel/qvariant
Fabian Kosmale 8669b8e60f QVariant: Prefer direct conversion to QVariant{List,Map,Hash}
If a type has both a converter to QVariantList and to
QSequentialIterableImpl registered, we would have chosen the
QSequentialIterableImpl version. In the case of types like QJSValue,
this is more costly. With this change  we therefore uses the direct
conversion if it has been registered.

The same applies to QAssociativeIterableImpl and
QVariantHash/QVariantMap.

Change-Id: I9c0b5068efe4bfbc5e0598a200e6db59201e9974
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2020-01-03 10:59:37 +01:00
..
stream Fix invalid QDataStream data for QDateTime 2016-05-26 11:05:43 +00:00
.gitignore Moving relevant tests to corelib/kernel 2011-09-01 12:42:14 +02:00
qvariant.pro Introduce QT_NO_LINKED_LIST and mark QtBase (almost) free of it 2019-07-12 14:26:30 +02:00
qvariant.qrc Cleanup mess in public type ids. 2012-01-25 21:08:08 +01:00
tst_qvariant.cpp QVariant: Prefer direct conversion to QVariant{List,Map,Hash} 2020-01-03 10:59:37 +01:00