branch | RCL_3 |
changeset 5 | d3bac044e0f0 |
parent 4 | 3b1da2848fc7 |
--- a/tools/linguist/shared/qm.cpp Fri Feb 19 23:40:16 2010 +0200 +++ b/tools/linguist/shared/qm.cpp Fri Mar 12 15:46:37 2010 +0200 @@ -594,7 +594,7 @@ return false; } m += 4; - QString str = QString::fromUtf16((const ushort *)m, len/2); + QString str = QString((const QChar *)m, len/2); if (QSysInfo::ByteOrder == QSysInfo::LittleEndian) { for (int i = 0; i < str.length(); ++i) str[i] = QChar((str.at(i).unicode() >> 8) +