Remove uses of __DATE__ and __TIME__

This commit is contained in:
James Cowgill
2015-11-14 00:52:41 +00:00
parent 19e3fba59f
commit 386159c74e
5 changed files with 5 additions and 9 deletions

View File

@ -24,8 +24,7 @@ DAboutDialog::DAboutDialog(QWidget* parent_widget)
m_ui = std::make_unique<Ui::DAboutDialog>();
m_ui->setupUi(this);
m_ui->lblGitRev->setText(SC(scm_desc_str));
m_ui->lblGitInfo->setText(m_ui->lblGitInfo->text().arg(SC(scm_branch_str), SC(scm_rev_git_str),
SL(__DATE__), SL(__TIME__)));
m_ui->lblGitInfo->setText(m_ui->lblGitInfo->text().arg(SC(scm_branch_str), SC(scm_rev_git_str)));
m_ui->lblFinePrint->setText(m_ui->lblFinePrint->text().arg(SL("2015")));
m_ui->lblLicenseAuthorsSupport->setText(m_ui->lblLicenseAuthorsSupport->text()
.arg(SL("https://github.com/dolphin-emu/dolphin/blob/master/license.txt"))

View File

@ -43,8 +43,7 @@
</property>
<property name="text">
<string>Branch: %1
Revision: %2
Compiled: %3 @ %4</string>
Revision: %2</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>

View File

@ -51,7 +51,6 @@ void DSystemInfo::UpdateSystemInfo()
sysinfo += SL("\nDolphin\n===========================\n");
sysinfo += SL("SCM: branch %1, rev %2\n").arg(SC(scm_branch_str)).arg(SC(scm_rev_git_str));
sysinfo += SL("Compiled: %1, %2\n").arg(SL(__DATE__)).arg(SL(__TIME__));
sysinfo += SL("\nGUI\n===========================\n");
sysinfo += SL("Compiled for Qt: %1\n").arg(SL(QT_VERSION_STR));