Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals.

This commit is contained in:
Mat Sutcliffe
2018-12-20 19:26:39 +00:00
parent 5443701e09
commit ace7650ebe
67 changed files with 394 additions and 398 deletions

View File

@@ -64,13 +64,13 @@ namespace BlackMisc
QString CDistribution::convertToQString(const QString &separator, bool i18n) const
{
return QLatin1String("channel: ") %
return u"channel: " %
this->getChannel() %
separator %
QLatin1String("download URLs: ") %
u"download URLs: " %
getDownloadUrls().toQString(i18n) %
separator %
QLatin1String("timestamp: ") %
u"timestamp: " %
this->getFormattedUtcTimestampYmdhms();
}