From b7e2b71a8e26c73b9cc8ae86fec0174a029dd2ec Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Tue, 21 Dec 2021 14:11:38 +0100 Subject: [doc] QCoreApplication::installTranslator() doesn't take ownership Document it. Change-Id: I25d305945bf29348d6ea5756fbf80c418f812d0f Reviewed-by: Lars Knoll (cherry picked from commit 66a79287f159d236090fd0092a81be133862bbdc) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/kernel/qcoreapplication.cpp | 2 ++ 1 file changed, 2 insertions(+) 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} */ -- cgit v1.2.3