Fix one bogus print to stderr: use toLocal8Bit()
Change-Id: I86341ccbd0251a9c858a5e1a9b7ea291d73cda01 Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
parent
d5dcd6d166
commit
d7eb0a632a
@ -1225,7 +1225,7 @@ static void qDefaultMessageHandler(QtMsgType type, const QMessageLogContext &con
|
||||
logMessage.chop(1);
|
||||
systemd_default_message_handler(type, context, logMessage);
|
||||
} else {
|
||||
fprintf(stderr, "%s", logMessage.toUtf8().constData());
|
||||
fprintf(stderr, "%s", logMessage.toLocal8Bit().constData());
|
||||
fflush(stderr);
|
||||
}
|
||||
#elif defined(Q_OS_ANDROID)
|
||||
|
Loading…
Reference in New Issue
Block a user