From d0aeeed49d1c7c85c425cef0a7cdbd12c3bfb27d Mon Sep 17 00:00:00 2001 From: Nicholas Bennett Date: Wed, 22 May 2024 06:53:31 +0300 Subject: [PATCH] Docs: update the QAndroidApplication::context() documentation The word "main" here is confusing. use "most recently started" instead. Fixes: QTBUG-86203 Pick-to: 6.5 6.2 Change-Id: I3fd4e49204fac8a2f97cdfc57d5f7901fa7b96a6 Reviewed-by: Assam Boudjelthia (cherry picked from commit 480940f0aa73922461a0ab51820b584a8e441e17) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/platform/android/qandroidnativeinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/platform/android/qandroidnativeinterface.cpp b/src/corelib/platform/android/qandroidnativeinterface.cpp index fc3a09c78b1..351893eb819 100644 --- a/src/corelib/platform/android/qandroidnativeinterface.cpp +++ b/src/corelib/platform/android/qandroidnativeinterface.cpp @@ -49,7 +49,7 @@ 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 main activity object is valid. Otherwise, the context is a \c Service. + if the most recently started activity object is valid. Otherwise, the context is a \c Service. \since 6.2 */