tst_container.qml: fix "Unsuitable arguments" warning
The full warning was: QML Component: Unsuitable arguments passed to createObject(). The first argument should be a QObject* or null, and the second argument should be a JavaScript object or a QVariantMap Pick-to: 6.2 6.3 Change-Id: Iaf81a6fc622d11cd6d6de22e931c2fb922ea9ec0 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
parent
40260e6703
commit
ce1ec037d1
|
@ -169,7 +169,7 @@ TestCase {
|
|||
|
||||
// don't crash (QTBUG-61310)
|
||||
function test_repeater(data) {
|
||||
var control = createTemporaryObject(data.component)
|
||||
var control = createTemporaryObject(data.component, testCase)
|
||||
verify(control)
|
||||
|
||||
compare(control.itemAt(0).objectName, "0")
|
||||
|
|
Loading…
Reference in New Issue