diff options
| author | JosJuice <josjuice@gmail.com> | 2017-09-10 08:02:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-10 08:02:48 +0200 |
| commit | ee51ba639908ccbb13c3389344d17d3bbae2da1a (patch) | |
| tree | 02ccf253c0a7196dbcafd99524c07801d42c4791 /Source/Core/DolphinQt2/AboutDialog.cpp | |
| parent | e86713ca6726393f4b5a2dd2240b79828d6fcb4b (diff) | |
| parent | 696e1b40b58ee1ef9340ceac02059abbe63f3120 (diff) | |
Merge pull request #6047 from lioncash/version
Common: Move version strings to their own header
Diffstat (limited to 'Source/Core/DolphinQt2/AboutDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/AboutDialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt2/AboutDialog.cpp b/Source/Core/DolphinQt2/AboutDialog.cpp index 9ef1889cce..73303ba5da 100644 --- a/Source/Core/DolphinQt2/AboutDialog.cpp +++ b/Source/Core/DolphinQt2/AboutDialog.cpp @@ -6,7 +6,7 @@ #include <QTextEdit> #include <QVBoxLayout> -#include "Common/Common.h" +#include "Common/Version.h" #include "DolphinQt2/AboutDialog.h" #include "DolphinQt2/Resources.h" @@ -23,11 +23,11 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent) text.append(QStringLiteral("<p style='font-size:50pt; font-weight:400; margin-bottom:0px;'>") + tr("Dolphin") + QStringLiteral("</p>")); text.append(QStringLiteral("<p style='font-size:18pt; margin-top:0px;'>%1</p>") - .arg(QString::fromUtf8(scm_desc_str.c_str()))); + .arg(QString::fromUtf8(Common::scm_desc_str.c_str()))); - text.append(small + tr("Branch: ") + QString::fromUtf8(scm_branch_str.c_str()) + + text.append(small + tr("Branch: ") + QString::fromUtf8(Common::scm_branch_str.c_str()) + QStringLiteral("</p>")); - text.append(small + tr("Revision: ") + QString::fromUtf8(scm_rev_git_str.c_str()) + + text.append(small + tr("Revision: ") + QString::fromUtf8(Common::scm_rev_git_str.c_str()) + QStringLiteral("</p>")); text.append(small + tr("Compiled: ") + QStringLiteral(__DATE__ " " __TIME__ "</p>")); |
