diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-05-13 09:56:40 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2020-05-13 12:07:52 +0000 |
commit | 7cafcd4867ec1543d09fe071f99a5563cb54433c (patch) | |
tree | 99648b1bc1ce16f9011ad0b400733ddd857beac9 /src | |
parent | 80e0d0e08eaccf032c4a42ce7c5d3ffb91837141 (diff) |
QtCore/Windows: fix deprecated QChar conversions
global\qlogging.cpp:1698:91: warning: 'constexpr QChar::QChar(char)' is deprecated: Use fromUtf8, QStringLiteral, or QLatin1String [-Wdeprecated-declarations]
Change-Id: I3c8a9499c9504bb6198dc187cb79239f705e2d39
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qlogging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp index db4224db91..4033afbe57 100644 --- a/src/corelib/global/qlogging.cpp +++ b/src/corelib/global/qlogging.cpp @@ -1695,7 +1695,7 @@ static bool win_message_handler(QtMsgType type, const QMessageLogContext &contex if (shouldLogToStderr()) return false; // Leave logging up to stderr handler - const QString formattedMessage = qFormatLogMessage(type, context, message).append('\n'); + const QString formattedMessage = qFormatLogMessage(type, context, message).append(QLatin1Char('\n')); win_outputDebugString_helper(formattedMessage); return true; // Prevent further output to stderr |