summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreapplication.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2021-12-21 14:11:38 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-01-03 13:35:13 +0000
commit66a79287f159d236090fd0092a81be133862bbdc (patch)
tree6f08f0165ab302b2dc664189be9cb140a50848fe /src/corelib/kernel/qcoreapplication.cpp
parent5ae238f90fb31ac216f83c0290737bbbec8ff565 (diff)
[doc] QCoreApplication::installTranslator() doesn't take ownership
Document it. Pick-to: 6.3 6.2 5.15 Change-Id: I25d305945bf29348d6ea5756fbf80c418f812d0f Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication.cpp')
-rw-r--r--src/corelib/kernel/qcoreapplication.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp
index 001d333887..25fdc5b546 100644
--- a/src/corelib/kernel/qcoreapplication.cpp
+++ b/src/corelib/kernel/qcoreapplication.cpp
@@ -2113,6 +2113,8 @@ void QCoreApplicationPrivate::quit()
The function returns \c true on success and false on failure.
+ \note QCoreApplication does \e not take ownership of \a translationFile.
+
\sa removeTranslator(), translate(), QTranslator::load(), {Dynamic Translation}
*/