aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/about_dialog.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2018-01-14 19:15:45 +0100
committerspycrab <spycrab@users.noreply.github.com>2018-01-14 19:15:45 +0100
commitbb84db54a8c0ca4845d86b2abd5a1cde38a91f17 (patch)
tree94b90ebb26d2b9ae3a8822395e928a3eee5aba98 /src/yuzu/about_dialog.cpp
parent31fc09ae89df6c7279854c8816cfc872dfb950e8 (diff)
Implement "About" dialog
Diffstat (limited to 'src/yuzu/about_dialog.cpp')
-rw-r--r--src/yuzu/about_dialog.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/yuzu/about_dialog.cpp b/src/yuzu/about_dialog.cpp
new file mode 100644
index 0000000000..0f1b6cdc6b
--- /dev/null
+++ b/src/yuzu/about_dialog.cpp
@@ -0,0 +1,15 @@
+// Copyright 2018 yuzu Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include "common/scm_rev.h"
+#include "ui_aboutdialog.h"
+#include "yuzu/about_dialog.h"
+
+AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent), ui(new Ui::AboutDialog) {
+ ui->setupUi(this);
+ ui->labelBuildInfo->setText(ui->labelBuildInfo->text().arg(
+Common::g_build_name, Common::g_scm_branch, Common::g_scm_desc));
+}
+
+AboutDialog::~AboutDialog() {}