aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlvaluetypes
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2020-11-06 20:20:23 +0100
committerDavid Faure <david.faure@kdab.com>2020-11-07 11:13:39 +0100
commit4f98bf713f6604903c4fe61adc750b23c4407a18 (patch)
treefbd2c6a57414a34665312b23c7b82e582df15ee3 /tests/auto/qml/qqmlvaluetypes
parentc1d4fcb4648fec3396081d24280fbd6cfb9adb4d (diff)
qtdeclarative: finish fixing compilation with explicit QChar(int)
Change-Id: Idb26e2df6d4fe8940db57066a30fa8c243f6d2c9 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlvaluetypes')
-rw-r--r--tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp b/tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp
index 0cbfc958cf..2829ab08a1 100644
--- a/tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp
+++ b/tests/auto/qml/qqmlvaluetypes/tst_qqmlvaluetypes.cpp
@@ -1714,7 +1714,7 @@ void tst_qqmlvaluetypes::sequences()
QCOMPARE(value.property(i).property("baseProperty").toInt(), container.at(i).baseProperty());
}
{
- QVector<QChar> qcharVector{1, 4, 42, 8, 15};
+ QVector<QChar> qcharVector{QChar(1), QChar(4), QChar(42), QChar(8), QChar(15)};
QJSValue value = engine.toScriptValue(qcharVector);
QCOMPARE(value.property("length").toInt(), qcharVector.length());
for (int i = 0; i < qcharVector.length(); ++i)