diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-09-01 15:25:00 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-09-01 15:27:14 (GMT) |
commit | 8bc0dce2c74c28acd36daa73e84f7c9d79760e4a (patch) | |
tree | 30e71af7768f3a4718459ea0acadb2c94790999b /tools/qdoc3 | |
parent | abcfda3554ef2d1c1ab994a5215a9aa6b107c64a (diff) | |
download | Qt-8bc0dce2c74c28acd36daa73e84f7c9d79760e4a.zip Qt-8bc0dce2c74c28acd36daa73e84f7c9d79760e4a.tar.gz Qt-8bc0dce2c74c28acd36daa73e84f7c9d79760e4a.tar.bz2 |
QString usage cleanups
- tr() already returns a QString, duh
- use multi-arg arg() (heh)
Diffstat (limited to 'tools/qdoc3')
-rw-r--r-- | tools/qdoc3/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/main.cpp b/tools/qdoc3/main.cpp index fa7efee..2bfe38e 100644 --- a/tools/qdoc3/main.cpp +++ b/tools/qdoc3/main.cpp @@ -148,7 +148,7 @@ static void printHelp() */ static void printVersion() { - QString s = QString(tr("qdoc version ")) + QString(QT_VERSION_STR); + QString s = tr("qdoc version %1").arg(QT_VERSION_STR); Location::information(s); } |