summaryrefslogtreecommitdiffstats
path: root/tools/qdbus/qdbusviewer
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2009-05-20 07:00:37 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-05-20 07:00:37 (GMT)
commitc51204359b7c9c2e63e4101f771d07774b921fee (patch)
tree325cc4539a237c1c5f8e545bd79dadef66ddab2f /tools/qdbus/qdbusviewer
parente9dec649afc2e513354c79f6e38ca53b6943cccc (diff)
downloadQt-c51204359b7c9c2e63e4101f771d07774b921fee.zip
Qt-c51204359b7c9c2e63e4101f771d07774b921fee.tar.gz
Qt-c51204359b7c9c2e63e4101f771d07774b921fee.tar.bz2
Remove unused variables from various About dialogs.
Reviewed-by: Trust Me
Diffstat (limited to 'tools/qdbus/qdbusviewer')
-rw-r--r--tools/qdbus/qdbusviewer/qdbusviewer.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/tools/qdbus/qdbusviewer/qdbusviewer.cpp b/tools/qdbus/qdbusviewer/qdbusviewer.cpp
index 9c25a89..fcb63a8 100644
--- a/tools/qdbus/qdbusviewer/qdbusviewer.cpp
+++ b/tools/qdbus/qdbusviewer/qdbusviewer.cpp
@@ -441,21 +441,14 @@ void QDBusViewer::about()
{
QMessageBox box(this);
- // TODO: Remove these variables for 4.6.0. Must keep this way for 4.5.x due to string freeze.
- QString edition;
- QString info;
- QString moreInfo;
-
box.setText(QString::fromLatin1("<center><img src=\":/trolltech/qdbusviewer/images/qdbusviewer-128.png\">"
"<h3>%1</h3>"
- "<p>Version %2 %3</p></center>"
- "<p>%4</p>"
- "<p>%5</p>"
+ "<p>Version %2</p></center>"
"<p>Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).</p>"
"<p>The program is provided AS IS with NO WARRANTY OF ANY KIND,"
" INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A"
" PARTICULAR PURPOSE.<p/>")
- .arg(tr("D-Bus Viewer")).arg(QLatin1String(QT_VERSION_STR)).arg(edition).arg(info).arg(moreInfo));
+ .arg(tr("D-Bus Viewer")).arg(QLatin1String(QT_VERSION_STR)));
box.setWindowTitle(tr("D-Bus Viewer"));
box.exec();
}