Fix conversion from 8-bit to QString without proper encoding
Found by ICC. Change-Id: Icd89e7df828afdb2acf2c46e00698ef04d5d94c9 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: John Layt <jlayt@kde.org>
This commit is contained in:
parent
645f9d959f
commit
58b08ba40b
@ -4898,7 +4898,7 @@ QDebug operator<<(QDebug dbg, const QDateTime &date)
|
||||
break;
|
||||
case Qt::TimeZone:
|
||||
#ifndef QT_BOOTSTRAPPED
|
||||
spec = QStringLiteral(" Qt::TimeZone ") + date.timeZone().id();
|
||||
spec = QStringLiteral(" Qt::TimeZone ") + QString::fromLatin1(date.timeZone().id());
|
||||
break;
|
||||
#endif // QT_BOOTSTRAPPED
|
||||
case Qt::LocalTime:
|
||||
|
Loading…
Reference in New Issue
Block a user