mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 13:20:04 +00:00
Merge pull request #3837 from zhaowenlan1779/aboutdialog-builddate
citra-qt: Add build date in about dialog
This commit is contained in:
commit
e27bb6394d
@ -12,8 +12,9 @@ AboutDialog::AboutDialog(QWidget* parent)
|
|||||||
ui(new Ui::AboutDialog) {
|
ui(new Ui::AboutDialog) {
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
ui->labelLogo->setPixmap(QIcon::fromTheme("citra").pixmap(200));
|
ui->labelLogo->setPixmap(QIcon::fromTheme("citra").pixmap(200));
|
||||||
ui->labelBuildInfo->setText(ui->labelBuildInfo->text().arg(
|
ui->labelBuildInfo->setText(
|
||||||
Common::g_build_name, Common::g_scm_branch, Common::g_scm_desc));
|
ui->labelBuildInfo->text().arg(Common::g_build_name, Common::g_scm_branch,
|
||||||
|
Common::g_scm_desc, QString(Common::g_build_date).left(10)));
|
||||||
}
|
}
|
||||||
|
|
||||||
AboutDialog::~AboutDialog() {
|
AboutDialog::~AboutDialog() {
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><html><head/><body><p>%1 | %2-%3</p></body></html></string>
|
<string><html><head/><body><p>%1 | %2-%3 (%4)</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user