summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAki Koskinen <qt@akikoskinen.info>2014-09-23 14:09:21 +0300
committerAlex Blasche <alexander.blasche@digia.com>2014-11-05 08:43:04 +0100
commit8545821bf8c3694d0dcb5293f3b23fef2d90cd02 (patch)
treed89594303b053c71bd744512adc7972cc96ea8c3 /src
parent82e266a83b8124df327001906d2848f625effbc6 (diff)
Fix incorrect documentation from QTranslator::load
Task-number: QTBUG-27506 Change-Id: I1b2d4ed2242efd52258c7f587c2121f9dde18a0d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qtranslator.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp
index 33827926c6..dc56ad88a1 100644
--- a/src/corelib/kernel/qtranslator.cpp
+++ b/src/corelib/kernel/qtranslator.cpp
@@ -426,9 +426,8 @@ QTranslator::~QTranslator()
directory. Returns \c true if the translation is successfully loaded;
otherwise returns \c false.
- If \a directory is not specified, the directory of the
- application's executable is used (i.e., as
- \l{QCoreApplication::}{applicationDirPath()}).
+ If \a directory is not specified, the current directory is used
+ (i.e., as \l{QDir::}{currentPath()}).
The previous contents of this translator object are discarded.