Changeset 769 for trunk/tools/linguist/shared
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/tools/linguist/shared/qm.cpp
r651 r769 595 595 } 596 596 m += 4; 597 QString str = QString ::fromUtf16((const ushort*)m, len/2);597 QString str = QString((const QChar *)m, len/2); 598 598 if (QSysInfo::ByteOrder == QSysInfo::LittleEndian) { 599 599 for (int i = 0; i < str.length(); ++i) -
trunk/tools/linguist/shared/translator.h
r651 r769 154 154 155 155 void setCodecName(const QByteArray &name); 156 void setCodec(QTextCodec *codec) { m_codec = codec; } 156 157 QByteArray codecName() const; 157 158 QTextCodec *codec() const { return m_codec; }
Note:
See TracChangeset
for help on using the changeset viewer.