summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qjniobject.cpp
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2022-06-22 11:11:42 +0200
committerTopi Reinio <topi.reinio@qt.io>2022-06-27 16:03:52 +0200
commit4a14a9c0141eba78d10628a92fc08a8765c5798d (patch)
treeb5f460f184708d33a06c32348a7b4c96fd292abc /src/corelib/kernel/qjniobject.cpp
parent9521a07af2da735849ce92df049569de9a55ad30 (diff)
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. Pick-to: 6.4 Change-Id: Icae44f8eb24aa6b269242084479e735f2637c312 Reviewed-by: Luca Di Sera <luca.disera@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qjniobject.cpp')
-rw-r--r--src/corelib/kernel/qjniobject.cpp2
1 files changed, 1 insertions, 1 deletions
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<typename Class, typename ...Args> static inline QJniObject construct(Args &&...args)
+ \fn template<typename Class, typename ...Args> 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