diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2009-05-20 07:00:37 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-05-20 07:00:37 (GMT) |
commit | c51204359b7c9c2e63e4101f771d07774b921fee (patch) | |
tree | 325cc4539a237c1c5f8e545bd79dadef66ddab2f /tools/assistant/compat/mainwindow.cpp | |
parent | e9dec649afc2e513354c79f6e38ca53b6943cccc (diff) | |
download | Qt-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/assistant/compat/mainwindow.cpp')
-rw-r--r-- | tools/assistant/compat/mainwindow.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tools/assistant/compat/mainwindow.cpp b/tools/assistant/compat/mainwindow.cpp index 9f91f9b..5de0d3c 100644 --- a/tools/assistant/compat/mainwindow.cpp +++ b/tools/assistant/compat/mainwindow.cpp @@ -312,21 +312,14 @@ void MainWindow::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/assistant/images/assistant-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("Qt Assistant")).arg(QLatin1String(QT_VERSION_STR)).arg(edition).arg(info).arg(moreInfo)); + .arg(tr("Qt Assistant")).arg(QLatin1String(QT_VERSION_STR))); box.setWindowTitle(tr("Qt Assistant")); box.setIcon(QMessageBox::NoIcon); box.exec(); |