mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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:
@@ -599,5 +599,5 @@ QString GCMemcardManager::GetErrorMessagesForErrorCode(const GCMemcardErrorCode&
|
||||
if (sl.empty())
|
||||
return tr("No errors.");
|
||||
|
||||
return sl.join(QStringLiteral("\n"));
|
||||
return sl.join(QLatin1Char{'\n'});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user