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:
Lioncash 2020-01-27 15:59:30 -05:00
parent 585ae8aedf
commit 7eaa769527

View File

@ -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'});
}