From 2a056cd39fd18a8acfed6689f5fbf0dbec5989a6 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 22 Jun 2022 11:11:42 +0200 Subject: [PATCH] Doc: Fix QJniObject::construct() documentation Even though QDoc accepted the \fn signature without a class scope, the documentation does not end up on the class reference unless we mark construct() as a member of QJniObject. Change-Id: Icae44f8eb24aa6b269242084479e735f2637c312 Reviewed-by: Luca Di Sera Reviewed-by: Volker Hilsheimer (cherry picked from commit 4a14a9c0141eba78d10628a92fc08a8765c5798d) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/kernel/qjniobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/kernel/qjniobject.cpp b/src/corelib/kernel/qjniobject.cpp index 1b1432e4e34..dda4f474029 100644 --- a/src/corelib/kernel/qjniobject.cpp +++ b/src/corelib/kernel/qjniobject.cpp @@ -762,7 +762,7 @@ QJniObject::QJniObject(jobject object) } /*! - \fn template static inline QJniObject construct(Args &&...args) + \fn template static inline QJniObject QJniObject::construct(Args &&...args) \since 6.4 Constructs an instance of the Java class that is the equivalent of \c Class and