yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Port #3837 from Citra: "Add build date in about dialog"

This commit is contained in:
fearlessTobi 2018-07-29 14:27:19 +02:00
parent 458fdda700
commit e8674f1f09
2 changed files with 4 additions and 3 deletions

View File

@ -10,8 +10,9 @@
AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent), ui(new Ui::AboutDialog) { AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent), ui(new Ui::AboutDialog) {
ui->setupUi(this); ui->setupUi(this);
ui->labelLogo->setPixmap(QIcon::fromTheme("yuzu").pixmap(200)); ui->labelLogo->setPixmap(QIcon::fromTheme("yuzu").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() {}

View File

@ -70,7 +70,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;%1 | %2-%3&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;%1 | %2-%3 (%4)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>