Qt: Remove __DATE__ to make builds reproducible

See also PR #3259.

Also makes the copyright text identical to DolphinWX.
This commit is contained in:
Léo Lam 2017-09-07 21:09:36 +02:00
parent faced475df
commit 730b7fc833
1 changed files with 2 additions and 4 deletions

View File

@ -29,7 +29,6 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent)
QStringLiteral("</p>")); QStringLiteral("</p>"));
text.append(small + tr("Revision: ") + QString::fromUtf8(Common::scm_rev_git_str.c_str()) + text.append(small + tr("Revision: ") + QString::fromUtf8(Common::scm_rev_git_str.c_str()) +
QStringLiteral("</p>")); QStringLiteral("</p>"));
text.append(small + tr("Compiled: ") + QStringLiteral(__DATE__ " " __TIME__ "</p>"));
text.append(medium + tr("Check for updates: ") + text.append(medium + tr("Check for updates: ") +
QStringLiteral( QStringLiteral(
@ -62,9 +61,8 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent)
// in your translation, please use the type of curly quotes that's appropriate for // in your translation, please use the type of curly quotes that's appropriate for
// your language. If you aren't sure which type is appropriate, see // your language. If you aren't sure which type is appropriate, see
// https://en.wikipedia.org/wiki/Quotation_mark#Specific_language_features // https://en.wikipedia.org/wiki/Quotation_mark#Specific_language_features
new QLabel(tr("\u00A9 2003-%1 Dolphin Team. \u201cGameCube\u201d and \u201cWii\u201d are " new QLabel(tr("\u00A9 2003-2015+ Dolphin Team. \u201cGameCube\u201d and \u201cWii\u201d are "
"trademarks of Nintendo. Dolphin is not affiliated with Nintendo in any way.") "trademarks of Nintendo. Dolphin is not affiliated with Nintendo in any way."));
.arg(QStringLiteral(__DATE__).right(4)));
QLabel* logo = new QLabel(); QLabel* logo = new QLabel();
logo->setPixmap(Resources::GetMisc(Resources::LOGO_LARGE)); logo->setPixmap(Resources::GetMisc(Resources::LOGO_LARGE));