diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-08-08 12:25:30 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-08 12:25:30 +1000 |
| commit | 1bd8f033627ceef8479cb549447782ae860574c2 (patch) | |
| tree | bfa6fa96843079b448ca9230488a8031b742b714 /Source/Core/DolphinQt/Config/ARCodeWidget.cpp | |
| parent | 1092efa77ae302fc677ebb67cdf2f93024b93f79 (diff) | |
| parent | fef1b84f0a587dc285af6659cb64042e34e54223 (diff) | |
Merge pull request #8271 from lioncash/qstring
DolphinQt: Replace unnecessary QStringLiterals with alternatives where applicable
Diffstat (limited to 'Source/Core/DolphinQt/Config/ARCodeWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/ARCodeWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/Config/ARCodeWidget.cpp b/Source/Core/DolphinQt/Config/ARCodeWidget.cpp index eecefd0dee..b03ebce983 100644 --- a/Source/Core/DolphinQt/Config/ARCodeWidget.cpp +++ b/Source/Core/DolphinQt/Config/ARCodeWidget.cpp @@ -152,8 +152,8 @@ void ARCodeWidget::UpdateList() { const auto& ar = m_ar_codes[i]; auto* item = new QListWidgetItem(QString::fromStdString(ar.name) - .replace(QStringLiteral("<"), QStringLiteral("<")) - .replace(QStringLiteral(">"), QStringLiteral(">"))); + .replace(QStringLiteral("<"), QChar::fromLatin1('<')) + .replace(QStringLiteral(">"), QChar::fromLatin1('>'))); item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsUserCheckable | Qt::ItemIsDragEnabled); |
