mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Merge pull request #8271 from lioncash/qstring
DolphinQt: Replace unnecessary QStringLiterals with alternatives where applicable
This commit is contained in:
@ -32,8 +32,8 @@ constexpr int SLIDER_TICK_COUNT = 100;
|
||||
// Escape ampersands and remove ticks
|
||||
static QString ToDisplayString(QString&& string)
|
||||
{
|
||||
return string.replace(QStringLiteral("&"), QStringLiteral("&&"))
|
||||
.replace(QStringLiteral("`"), QStringLiteral(""));
|
||||
return string.replace(QLatin1Char{'&'}, QStringLiteral("&&"))
|
||||
.replace(QLatin1Char{'`'}, QString{});
|
||||
}
|
||||
|
||||
bool MappingButton::IsInput() const
|
||||
|
Reference in New Issue
Block a user