// Copyright 2014 Dolphin Emulator Project // Licensed under GPLv2 // Refer to the license.txt file included. #include #include #include "AboutDialog.h" #include "ui_AboutDialog.h" #include "Common/Common.h" #include "Common/StdMakeUnique.h" DAboutDialog::DAboutDialog(QWidget* p) : QDialog(p) { ui = std::make_unique(); ui->setupUi(this); ui->label->setText(ui->label->text().arg(QLatin1String(scm_desc_str), QStringLiteral("2014"), QLatin1String(scm_branch_str), QLatin1String(scm_rev_git_str), QStringLiteral(__DATE__), QStringLiteral(__TIME__))); } DAboutDialog::~DAboutDialog() { } void DAboutDialog::on_label_linkActivated(const QString &link) { QDesktopServices::openUrl(QUrl(link)); }