From 6c6edc10bb52258655a62d3130b7a9d942ce7ce5 Mon Sep 17 00:00:00 2001 From: zneix Date: Sat, 31 Jul 2021 12:43:04 +0200 Subject: [PATCH] QLatin1Literal no longer exists (?) QStringLiteral seems like a fine workaround --- src/singletons/helper/LoggingChannel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/singletons/helper/LoggingChannel.cpp b/src/singletons/helper/LoggingChannel.cpp index 112270ca7..d37c7717a 100644 --- a/src/singletons/helper/LoggingChannel.cpp +++ b/src/singletons/helper/LoggingChannel.cpp @@ -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());