From 8473b9ad1997fa61882f540ad87bd4b4a671f926 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Tue, 14 May 2024 14:02:34 +0300 Subject: [PATCH] JNI: fix docs snippet typo in QJniObject MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pick-to: 6.7 Task-number: QTBUG-125287 Change-Id: Ie0f2f26400d2e055d1de7a2307c9905d12891828 Reviewed-by: Tinja Paavoseppä --- src/corelib/kernel/qjniobject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/kernel/qjniobject.cpp b/src/corelib/kernel/qjniobject.cpp index 8244a4390f2..892f02e7a4d 100644 --- a/src/corelib/kernel/qjniobject.cpp +++ b/src/corelib/kernel/qjniobject.cpp @@ -105,9 +105,9 @@ using namespace Qt::StringLiterals; // C++ code QJniObject string1 = QJniObject::fromString("String1"); QJniObject string2 = QJniObject::fromString("String2"); - QJniObject stringArray = QJniObject::callStaticObjectMethod( + QJniObject stringArray = QJniObject::callStaticObjectMethod( "org/qtproject/qt/TestClass", - "stringArray" + "stringArray", string1.object(), string2.object()); \endcode