Skip to content
Permalink
Browse files

DolphinQt/AboutDialog: Remove unnecessary QStringLiteral

QStrings automatically initialize to an empty string by default, making
this unnecessary.
  • Loading branch information...
lioncash committed May 21, 2019
1 parent e2c769a commit ae329b7b1bba5141d72ee8f17a41fef3c33286c8
Showing with 4 additions and 3 deletions.
  1. +4 −3 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>")

0 comments on commit ae329b7

Please sign in to comment.
You can’t perform that action at this time.