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
|
@ -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…
Reference in New Issue