summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2019-05-21 18:44:37 +0200
committerGitHub <noreply@github.com>2019-05-21 18:44:37 +0200
commit57fbf1cd6ee97e89b2dbd2f8ec4fbb7739ad756d (patch)
treef346a77cc97dae54f99d02e34f83b98c4e287693 /Source/Core
parent99ba260b517e005bfb4f40fb3ee45b80d12ff832 (diff)
parentae329b7b1bba5141d72ee8f17a41fef3c33286c8 (diff)
Merge pull request #8107 from lioncash/string
DolphinQt/AboutDialog: Remove unnecessary QStringLiteral
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/AboutDialog.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/AboutDialog.cpp b/Source/Core/DolphinQt/AboutDialog.cpp
index dccc9add36..84f12ab408 100644
--- a/Source/Core/DolphinQt/AboutDialog.cpp
+++ b/Source/Core/DolphinQt/AboutDialog.cpp
@@ -16,10 +16,11 @@ AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent)
setWindowTitle(tr("About Dolphin"));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
- QString text = QStringLiteral("");
- QString small = QStringLiteral("<p style='margin-top:0; margin-bottom:0; font-size:small;'>");
- QString medium = QStringLiteral("<p style='margin-top:15px;'>");
+ const QString small =
+ QStringLiteral("<p style='margin-top:0; margin-bottom:0; font-size:small;'>");
+ const QString medium = QStringLiteral("<p style='margin-top:15px;'>");
+ QString text;
text.append(QStringLiteral("<p style='font-size:38pt; font-weight:400; margin-bottom:0;'>") +
tr("Dolphin") + QStringLiteral("</p>"));
text.append(QStringLiteral("<p style='font-size:18pt; margin-top:0;'>%1</p>")