From a158b87f9b8de428091c6ba02bbc64119595bfe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Thu, 14 Sep 2017 17:10:00 +0200 Subject: [PATCH] Qt/About: Fix the HTML * remove useless units after 'zero' values * reduce the size of 'Dolphin' to be more reasonable and look better * avoid hardcoding the normal and small font sizes --- Source/Core/DolphinQt2/AboutDialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/DolphinQt2/AboutDialog.cpp b/Source/Core/DolphinQt2/AboutDialog.cpp index 7f6f4f380a..be06ce76bc 100644 --- a/Source/Core/DolphinQt2/AboutDialog.cpp +++ b/Source/Core/DolphinQt2/AboutDialog.cpp @@ -16,12 +16,12 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent) setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); QString text = QStringLiteral(""); - QString small = QStringLiteral("

"); - QString medium = QStringLiteral("

"); + QString small = QStringLiteral("

"); + QString medium = QStringLiteral("

"); - text.append(QStringLiteral("

") + + text.append(QStringLiteral("

") + tr("Dolphin") + QStringLiteral("

")); - text.append(QStringLiteral("

%1

") + text.append(QStringLiteral("

%1

") .arg(QString::fromUtf8(Common::scm_desc_str.c_str()))); text.append(small + tr("Branch: ") + QString::fromUtf8(Common::scm_branch_str.c_str()) +