|
|
@ -19,7 +19,11 @@ AboutDialog::AboutDialog(QWidget* parent)
|
|
|
|
const auto yuzu_build_version = override_build.empty() ? yuzu_build : override_build;
|
|
|
|
const auto yuzu_build_version = override_build.empty() ? yuzu_build : override_build;
|
|
|
|
|
|
|
|
|
|
|
|
ui->setupUi(this);
|
|
|
|
ui->setupUi(this);
|
|
|
|
ui->labelLogo->setPixmap(QIcon::fromTheme(QStringLiteral("yuzu")).pixmap(200));
|
|
|
|
// Try and request the icon from Qt theme (Linux?)
|
|
|
|
|
|
|
|
const QIcon yuzu_logo = QIcon::fromTheme(QStringLiteral("org.yuzu_emu.yuzu"));
|
|
|
|
|
|
|
|
if (!yuzu_logo.isNull()) {
|
|
|
|
|
|
|
|
ui->labelLogo->setPixmap(yuzu_logo.pixmap(200));
|
|
|
|
|
|
|
|
}
|
|
|
|
ui->labelBuildInfo->setText(
|
|
|
|
ui->labelBuildInfo->setText(
|
|
|
|
ui->labelBuildInfo->text().arg(QString::fromStdString(yuzu_build_version),
|
|
|
|
ui->labelBuildInfo->text().arg(QString::fromStdString(yuzu_build_version),
|
|
|
|
QString::fromUtf8(Common::g_build_date).left(10)));
|
|
|
|
QString::fromUtf8(Common::g_build_date).left(10)));
|
|
|
|