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:
parent
f8d1e16da0
commit
57337f21c7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user