mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
QLatin1Literal no longer exists (?)
QStringLiteral seems like a fine workaround
This commit is contained in:
parent
4958a13240
commit
6c6edc10bb
|
@ -102,7 +102,7 @@ void LoggingChannel::addMessage(MessagePtr message)
|
|||
|
||||
QString LoggingChannel::generateOpeningString(const QDateTime &now) const
|
||||
{
|
||||
QString ret = QLatin1Literal("# Start logging at ");
|
||||
QString ret = QStringLiteral("# Start logging at ");
|
||||
|
||||
ret.append(now.toString("yyyy-MM-dd HH:mm:ss "));
|
||||
ret.append(now.timeZoneAbbreviation());
|
||||
|
@ -113,7 +113,7 @@ QString LoggingChannel::generateOpeningString(const QDateTime &now) const
|
|||
|
||||
QString LoggingChannel::generateClosingString(const QDateTime &now) const
|
||||
{
|
||||
QString ret = QLatin1Literal("# Stop logging at ");
|
||||
QString ret = QStringLiteral("# Stop logging at ");
|
||||
|
||||
ret.append(now.toString("yyyy-MM-dd HH:mm:ss"));
|
||||
ret.append(now.timeZoneAbbreviation());
|
||||
|
|
Loading…
Reference in a new issue