diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2020-05-05 19:51:50 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2020-05-05 19:51:50 +0200 |
commit | 025e88bfe5b2345dd09c173dc28a9d9a45ed11de (patch) | |
tree | 0180b9123e479d7114b1caf2022dd8ff69162a17 /src/corelib/kernel/qtranslator.cpp | |
parent | ae7e701074be97130aa45f780e2456981850b432 (diff) | |
parent | 538223d10d133d23133db1ec7a50cb2775aca657 (diff) |
Merge remote-tracking branch 'origin/5.15' into dev
Change-Id: I003c0d6271c6444748bf30b4331eca3fb2410f44
Diffstat (limited to 'src/corelib/kernel/qtranslator.cpp')
-rw-r--r-- | src/corelib/kernel/qtranslator.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp index 5767d52f6a..cc6e89e0d7 100644 --- a/src/corelib/kernel/qtranslator.cpp +++ b/src/corelib/kernel/qtranslator.cpp @@ -341,8 +341,9 @@ public: Translation files are created using \l{Qt Linguist}. The most common use of QTranslator is to: load a translation - file, install it using QCoreApplication::installTranslator(), and use - it via QObject::tr(). Here's an example \c main() function using the + file, and install it using QCoreApplication::installTranslator(). + + Here's an example \c main() function using the QTranslator: \snippet hellotrmain.cpp 0 |