diff options
author | Shawn Rutledge <shawn.rutledge@nokia.com> | 2012-08-16 18:19:39 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-20 16:57:48 +0200 |
commit | 42d712b4ab7375a97e4095b2a6723305000e194c (patch) | |
tree | c1ff7942ba9f68fc0d6ad8b1741e9988d9b64eff /src/corelib/kernel/qtranslator.cpp | |
parent | e6de6c153eea5c95b9b676ba53c4470963e6f133 (diff) |
Misc documentation fixes triggered by qdoc errors/warnings
Change-Id: I6ca3b138114fe957a09e8ec2f22273865635fc8b
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
Diffstat (limited to 'src/corelib/kernel/qtranslator.cpp')
-rw-r--r-- | src/corelib/kernel/qtranslator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp index 34bc601bfc..fa860f5300 100644 --- a/src/corelib/kernel/qtranslator.cpp +++ b/src/corelib/kernel/qtranslator.cpp @@ -431,7 +431,7 @@ QTranslator::~QTranslator() If \a directory is not specified, the directory of the application's executable is used (i.e., as - \l{QCoreApplication::}{applicationDirPath()}). + \l{QCoreApplication::}{applicationDirPath()}). The previous contents of this translator object are discarded. @@ -472,8 +472,8 @@ bool QTranslator::load(const QString & filename, const QString & directory, QString prefix; if (QFileInfo(filename).isRelative()) { prefix = directory; - if (prefix.length() && !prefix.endsWith(QLatin1Char('/'))) - prefix += QLatin1Char('/'); + if (prefix.length() && !prefix.endsWith(QLatin1Char('/'))) + prefix += QLatin1Char('/'); } QString fname = filename; |