mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 01:59:02 +00:00
DolphinQt/GCMemcardManager: Make use of QLatin1Char within GetErrorMessagesForErrorCode()
Same behavior, but eliminates the use of a program lifetime Qt string literal.
This commit is contained in:
parent
585ae8aedf
commit
7eaa769527
1 changed files with 1 additions and 1 deletions
|
@ -599,5 +599,5 @@ QString GCMemcardManager::GetErrorMessagesForErrorCode(const GCMemcardErrorCode&
|
||||||
if (sl.empty())
|
if (sl.empty())
|
||||||
return tr("No errors.");
|
return tr("No errors.");
|
||||||
|
|
||||||
return sl.join(QStringLiteral("\n"));
|
return sl.join(QLatin1Char{'\n'});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue