summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfearlessTobi <thm.frey@gmail.com>2018-07-29 14:27:19 +0200
committerfearlessTobi <thm.frey@gmail.com>2018-07-29 14:27:19 +0200
commite8674f1f09ddf0b213591db52411553e244c583a (patch)
tree1370c4a5318dead5bd89e829983eb59d5fe1d843
parentMerge pull request #847 from lioncash/ncm (diff)
downloadyuzu-e8674f1f09ddf0b213591db52411553e244c583a.tar
yuzu-e8674f1f09ddf0b213591db52411553e244c583a.tar.gz
yuzu-e8674f1f09ddf0b213591db52411553e244c583a.tar.bz2
yuzu-e8674f1f09ddf0b213591db52411553e244c583a.tar.lz
yuzu-e8674f1f09ddf0b213591db52411553e244c583a.tar.xz
yuzu-e8674f1f09ddf0b213591db52411553e244c583a.tar.zst
yuzu-e8674f1f09ddf0b213591db52411553e244c583a.zip
-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 2680480cc..ec813189b 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>