diff options
-rw-r--r-- | src/assistant/assistant/mainwindow.cpp | 2 | ||||
-rw-r--r-- | src/designer/src/designer/versiondialog.cpp | 2 | ||||
-rw-r--r-- | src/distancefieldgenerator/mainwindow.cpp | 2 | ||||
-rw-r--r-- | src/linguist/linguist/mainwindow.cpp | 4 | ||||
-rw-r--r-- | src/qdbus/qdbusviewer/mainwindow.cpp | 2 |
5 files changed, 5 insertions, 7 deletions
diff --git a/src/assistant/assistant/mainwindow.cpp b/src/assistant/assistant/mainwindow.cpp index e301b2666..430718c59 100644 --- a/src/assistant/assistant/mainwindow.cpp +++ b/src/assistant/assistant/mainwindow.cpp @@ -857,7 +857,7 @@ void MainWindow::showAboutDialog() "<p>Version %2</p>" "<p>Browser: %3</p></center>" "<p>Copyright (C) %4 The Qt Company Ltd.</p>") - .arg(tr("Qt Assistant"), QLatin1String(QT_VERSION_STR), browser, QStringLiteral("2023")), + .arg(tr("Qt Assistant"), QLatin1String(QT_VERSION_STR), browser, QString()), resources); QLatin1String path(":/qt-project.org/assistant/images/assistant-128.png"); aboutDia.setPixmap(QString(path)); diff --git a/src/designer/src/designer/versiondialog.cpp b/src/designer/src/designer/versiondialog.cpp index eacfe79fc..d2d0d32be 100644 --- a/src/designer/src/designer/versiondialog.cpp +++ b/src/designer/src/designer/versiondialog.cpp @@ -142,7 +142,7 @@ VersionDialog::VersionDialog(QWidget *parent) lbl->setText(tr("%1" "<br/>Copyright (C) %2 The Qt Company Ltd." - ).arg(version, "2023"_L1)); + ).arg(version, QString())); lbl->setWordWrap(true); lbl->setOpenExternalLinks(true); diff --git a/src/distancefieldgenerator/mainwindow.cpp b/src/distancefieldgenerator/mainwindow.cpp index e7aff7636..703e73857 100644 --- a/src/distancefieldgenerator/mainwindow.cpp +++ b/src/distancefieldgenerator/mainwindow.cpp @@ -746,7 +746,7 @@ void MainWindow::about() "to prepare a font cache for Qt applications.</p>" "<p>Copyright (C) %2 The Qt Company Ltd.</p>") .arg(QLatin1String(QT_VERSION_STR)) - .arg(QLatin1String("2019"))); + .arg(QString())); msgBox->show(); } diff --git a/src/linguist/linguist/mainwindow.cpp b/src/linguist/linguist/mainwindow.cpp index 56df8c0f2..ce3c80f9f 100644 --- a/src/linguist/linguist/mainwindow.cpp +++ b/src/linguist/linguist/mainwindow.cpp @@ -1346,11 +1346,9 @@ void MainWindow::about() const QString description = tr("Qt Linguist is a tool for adding translations to Qt applications."); - const QString copyright - = tr("Copyright (C) %1 The Qt Company Ltd.").arg(QStringLiteral("2023")); box.setText(QStringLiteral("<center><img src=\":/images/icons/linguist-128-32.png\"/></img><p>%1</p></center>" "<p>%2</p>" - "<p>%3</p>").arg(version, description, copyright)); + "<p>Copyright (C) The Qt Company Ltd.</p>").arg(version, description)); box.setWindowTitle(QApplication::translate("AboutDialog", "Qt Linguist")); box.setIcon(QMessageBox::NoIcon); diff --git a/src/qdbus/qdbusviewer/mainwindow.cpp b/src/qdbus/qdbusviewer/mainwindow.cpp index b13b07ffa..ef75dbeb7 100644 --- a/src/qdbus/qdbusviewer/mainwindow.cpp +++ b/src/qdbus/qdbusviewer/mainwindow.cpp @@ -72,7 +72,7 @@ void MainWindow::about() "<h3>%1</h3>" "<p>Version %2</p></center>" "<p>Copyright (C) %3 The Qt Company Ltd.</p>") - .arg(tr("D-Bus Viewer"), QLatin1String(QT_VERSION_STR), u"2023"_s)); + .arg(tr("D-Bus Viewer"), QLatin1String(QT_VERSION_STR), QString())); box.setWindowTitle(tr("D-Bus Viewer")); box.exec(); } |