#include "aboutdialog.h" #include "qtutils.h" #include "scmversion/scmversion.h" #include #include AboutDialog::AboutDialog(QWidget* parent /* = nullptr */) : QDialog(parent) { m_ui.setupUi(this); setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); setFixedSize(geometry().width(), geometry().height()); m_ui.scmversion->setText(tr("%1 (%2)").arg(QString(g_scm_tag_str)).arg(QString(g_scm_branch_str))); m_ui.description->setTextInteractionFlags(Qt::TextBrowserInteraction); m_ui.description->setOpenExternalLinks(true); m_ui.description->setText(QStringLiteral(R"(

%1

%2:

Connor McLaughlin <stenzek@gmail.com>

%3 icons8

%4 | GitHub | Discord

)") .arg(tr("DuckStation is a free and open-source simulator/emulator of the Sony " "PlayStationTM console, focusing on " "playability, speed, and long-term maintainability.")) .arg(tr("Authors")) .arg(tr("Icon by")) .arg(tr("License"))); } AboutDialog::~AboutDialog() = default;