diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-30 19:11:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-30 19:11:43 +0200 |
commit | 884a4e1e1936f36e215d091940b52be4fa2b0a99 (patch) | |
tree | b05a24ac457c89ea0e2271f28c31487153e052dd /src | |
parent | Port #3769 from Citra: "Update Dark theme to latest version" (diff) | |
parent | Port #3837 from Citra: "Add build date in about dialog" (diff) | |
download | yuzu-884a4e1e1936f36e215d091940b52be4fa2b0a99.tar yuzu-884a4e1e1936f36e215d091940b52be4fa2b0a99.tar.gz yuzu-884a4e1e1936f36e215d091940b52be4fa2b0a99.tar.bz2 yuzu-884a4e1e1936f36e215d091940b52be4fa2b0a99.tar.lz yuzu-884a4e1e1936f36e215d091940b52be4fa2b0a99.tar.xz yuzu-884a4e1e1936f36e215d091940b52be4fa2b0a99.tar.zst yuzu-884a4e1e1936f36e215d091940b52be4fa2b0a99.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/about_dialog.cpp | 5 | ||||
-rw-r--r-- | src/yuzu/aboutdialog.ui | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/yuzu/about_dialog.cpp b/src/yuzu/about_dialog.cpp index d6647eeea..39ed3bccf 100644 --- a/src/yuzu/about_dialog.cpp +++ b/src/yuzu/about_dialog.cpp @@ -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() {} diff --git a/src/yuzu/aboutdialog.ui b/src/yuzu/aboutdialog.ui index 012ce90bf..f122ba39d 100644 --- a/src/yuzu/aboutdialog.ui +++ b/src/yuzu/aboutdialog.ui @@ -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> |