summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-30 19:11:43 +0200
committerGitHub <noreply@github.com>2018-07-30 19:11:43 +0200
commit884a4e1e1936f36e215d091940b52be4fa2b0a99 (patch)
treeb05a24ac457c89ea0e2271f28c31487153e052dd /src
parentPort #3769 from Citra: "Update Dark theme to latest version" (diff)
parentPort #3837 from Citra: "Add build date in about dialog" (diff)
downloadyuzu-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.cpp5
-rw-r--r--src/yuzu/aboutdialog.ui2
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>&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>
</widget>
</item>