src/corelib/io/qprocess_unix.cpp
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
--- a/src/corelib/io/qprocess_unix.cpp	Fri Feb 19 23:40:16 2010 +0200
+++ b/src/corelib/io/qprocess_unix.cpp	Fri Mar 12 15:46:37 2010 +0200
@@ -783,7 +783,7 @@
 
     // did we read an error message?
     if (i > 0)
-        q_func()->setErrorString(QString::fromUtf16(buf, i / sizeof(QChar)));
+        q_func()->setErrorString(QString((const QChar *)buf, i / sizeof(QChar)));
 
     return i <= 0;
 }