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:
Alejandro Exojo 2014-03-10 10:59:36 +01:00 committed by The Qt Project
parent d5dcd6d166
commit d7eb0a632a

View File

@ -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)