Fix QMetaType API deprecation warning in benchmark
Slipped through 1d3fe418e2
.
Change-Id: I7ff39852a878ce76d48d5a1798a49f9137e00a13
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
89f51a0680
commit
5f5fc9bf6f
@ -338,7 +338,7 @@ void tst_qvariant::createCoreType_data()
|
||||
QTest::addColumn<int>("typeId");
|
||||
for (int i = QMetaType::FirstCoreType; i <= QMetaType::LastCoreType; ++i) {
|
||||
if (QMetaType metaType(i); metaType.isValid()) // QMetaType(27) does not exist
|
||||
QTest::newRow(metaType.typeName(i)) << i;
|
||||
QTest::newRow(metaType.name()) << i;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user