summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Bennett <[email protected]>2025-09-17 13:12:13 +0300
committerAssam Boudjelthia <[email protected]>2025-10-23 19:45:54 +0000
commitdb76ba47ffb754ab4d16732347b96c0e0f3e8a70 (patch)
tree5dbcf6f66ece1609bcc8391d58bcfc5ed3f5a1ac
parent80c96ded7a18f6f0c9df79a912cbbc3c5b9e9e95 (diff)
Docs: Fix QAndroidNativeInterface doc bug
Replaced QJniObject with QtJniTypes::Context Fixes: QTBUG-140208 Pick-to: 6.10 6.8 Change-Id: Id9567ae4b26a457bf8dc614fb29b64ed27b4063e Reviewed-by: Assam Boudjelthia <[email protected]> Reviewed-by: Rami Potinkara <[email protected]> Reviewed-by: Andrey Filipenkov <[email protected]>
-rw-r--r--src/corelib/platform/android/qandroidnativeinterface.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/platform/android/qandroidnativeinterface.cpp b/src/corelib/platform/android/qandroidnativeinterface.cpp
index 680725dc6a1..5771d28f3a9 100644
--- a/src/corelib/platform/android/qandroidnativeinterface.cpp
+++ b/src/corelib/platform/android/qandroidnativeinterface.cpp
@@ -48,8 +48,9 @@ QT_DEFINE_NATIVE_INTERFACE(QAndroidApplication);
/*!
\fn QJniObject QNativeInterface::QAndroidApplication::context()
- Returns the Android context as a \c QJniObject. The context is an \c Activity
- if the most recently started activity object is valid. Otherwise, the context is a \c Service.
+ Returns the Android context as a \c QtJniTypes::Context. The context
+ is an \c Activity if the most recently started activity object is valid.
+ Otherwise, the context is a \c Service.
\since 6.2
*/