--- a/src/gui/kernel/qclipboard_s60.cpp Fri Feb 19 23:40:16 2010 +0200
+++ b/src/gui/kernel/qclipboard_s60.cpp Fri Mar 12 15:46:37 2010 +0200
@@ -164,7 +164,8 @@
TCardinality mimeTypeSize;
aStream >> mimeTypeSize;
HBufC* mimeTypeBuf = HBufC::NewLC(aStream,mimeTypeSize);
- QString mimeType = QString::fromUtf16(mimeTypeBuf->Des().Ptr(),mimeTypeBuf->Length());
+ QString mimeType = QString(reinterpret_cast<const QChar *>(mimeTypeBuf->Des().Ptr()),
+ mimeTypeBuf->Length());
CleanupStack::PopAndDestroy(mimeTypeBuf);
// mime data
TCardinality dataSize;