Browse Source
Merge pull request #859 from FearlessTobi/port-3837
Port #3837 from Citra: "citra-qt: Add build date in about dialog"
pull/15/merge
bunnei
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
3 deletions
-
src/yuzu/about_dialog.cpp
-
src/yuzu/aboutdialog.ui
|
|
|
@ -10,8 +10,9 @@ |
|
|
|
AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent), ui(new Ui::AboutDialog) { |
|
|
|
ui->setupUi(this); |
|
|
|
ui->labelLogo->setPixmap(QIcon::fromTheme("yuzu").pixmap(200)); |
|
|
|
ui->labelBuildInfo->setText(ui->labelBuildInfo->text().arg( |
|
|
|
Common::g_build_name, Common::g_scm_branch, Common::g_scm_desc)); |
|
|
|
ui->labelBuildInfo->setText( |
|
|
|
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() {} |
|
|
|
@ -70,7 +70,7 @@ |
|
|
|
</sizepolicy> |
|
|
|
</property> |
|
|
|
<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> |
|
|
|
</widget> |
|
|
|
</item> |
|
|
|
|