summaryrefslogtreecommitdiffstats
path: root/examples/tools
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-09-01 15:25:00 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-09-01 15:27:14 (GMT)
commit8bc0dce2c74c28acd36daa73e84f7c9d79760e4a (patch)
tree30e71af7768f3a4718459ea0acadb2c94790999b /examples/tools
parentabcfda3554ef2d1c1ab994a5215a9aa6b107c64a (diff)
downloadQt-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 'examples/tools')
-rw-r--r--examples/tools/treemodelcompleter/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tools/treemodelcompleter/mainwindow.cpp b/examples/tools/treemodelcompleter/mainwindow.cpp
index 0448e9d..cfe003a 100644
--- a/examples/tools/treemodelcompleter/mainwindow.cpp
+++ b/examples/tools/treemodelcompleter/mainwindow.cpp
@@ -241,6 +241,6 @@ void MainWindow::changeCase(int cs)
void MainWindow::updateContentsLabel(const QString& sep)
{
- contentsLabel->setText(QString(tr("Type path from model above with items at each level separated by a '%1'")).arg(sep));
+ contentsLabel->setText(tr("Type path from model above with items at each level separated by a '%1'").arg(sep));
}