From 32890c59afadfafe04d4e88b2b12a115cac97849 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 30 Jan 2024 09:41:32 +0100 Subject: [PATCH] QmlJSTools: Fix tests Amends 316e48fc50fc467b0c1ccfa8680d02b5f7003c9f. Change-Id: I5d28a89cdae23a76b37654aff6560b8334452e01 Reviewed-by: Ulf Hermann Reviewed-by: Reviewed-by: Thomas Hartmann --- src/plugins/qmljstools/qmljstools_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmljstools/qmljstools_test.cpp b/src/plugins/qmljstools/qmljstools_test.cpp index 1c98d342ef1..11c93b69fe9 100644 --- a/src/plugins/qmljstools/qmljstools_test.cpp +++ b/src/plugins/qmljstools/qmljstools_test.cpp @@ -38,7 +38,7 @@ void QmlJSToolsTest::test_basic() QVERIFY(context); const CppComponentValue *rectangleValue = context->valueOwner()->cppQmlTypes().objectByQualifiedName( - QLatin1String("QtQuick"), QLatin1String("QDeclarativeRectangle"), LanguageUtils::ComponentVersion(2, 15)); + QLatin1String("QtQuick"), QLatin1String("QDeclarativeRectangle"), LanguageUtils::ComponentVersion()); QVERIFY(rectangleValue); QVERIFY(!rectangleValue->isWritable(QLatin1String("border"))); QVERIFY(rectangleValue->hasProperty(QLatin1String("border")));