Add missing braces when constructing BigConvertible in tst_qvariant

Change-Id: Ia571e8950aa28721080dc7434921b79ffda913f4
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Tor Arne Vestbø 2020-07-26 20:21:24 +02:00
parent f8d1e16da0
commit 57337f21c7

View File

@ -3629,7 +3629,7 @@ void tst_QVariant::userConversion()
QVERIFY(!(QMetaType::hasRegisteredConverterFunction<double, BigConvertible>()));
QVERIFY(!(QMetaType::hasRegisteredConverterFunction<QString, BigConvertible>()));
BigConvertible c = { 123, 0, 0 };
BigConvertible c = { 123, { 0, 0 } };
QVariant v = QVariant::fromValue(c);
bool ok;