diff --git a/tests/auto/qml/qmldesigner/coretests/testcore.cpp b/tests/auto/qml/qmldesigner/coretests/testcore.cpp index 9ad941d260b4921f81bf87c3d3a156ac707a0f21..622727c938dcdcac77e50840b1ea441bdb59106e 100644 --- a/tests/auto/qml/qmldesigner/coretests/testcore.cpp +++ b/tests/auto/qml/qmldesigner/coretests/testcore.cpp @@ -2138,8 +2138,8 @@ void TestCore::testRewriterTransactionRewriter() { RewriterTransaction transaction = view->beginRewriterTransaction(); childNode1 = addChildNode(rootModelNode, "Qt/Rectangle", 4, 6, "data"); - childNode1.variantProperty("x") = "10"; - childNode1.variantProperty("y") = "10"; + childNode1.variantProperty("x") = 10; + childNode1.variantProperty("y") = 10; } QVERIFY(childNode1.isValid());