summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-09-02 17:39:16 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-09-05 10:45:34 (GMT)
commit4a6617b83612d79c8557102c9d313c28aee2aa0e (patch)
tree43e3c30dda609e0047a69499adf0886042edfcb7 /tests
parentddf5a09d469a1ded5490cffe54e0013a0d5ba347 (diff)
downloadQt-4a6617b83612d79c8557102c9d313c28aee2aa0e.zip
Qt-4a6617b83612d79c8557102c9d313c28aee2aa0e.tar.gz
Qt-4a6617b83612d79c8557102c9d313c28aee2aa0e.tar.bz2
Fix compile error on MSVC2008
Change-Id: I4f6192b9db601076688b52bfd794ea80a7346729 Reviewed-on: http://codereview.qt.nokia.com/4153 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qfileinfo/tst_qfileinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qfileinfo/tst_qfileinfo.cpp b/tests/auto/qfileinfo/tst_qfileinfo.cpp
index c7d9979..4e4b92d 100644
--- a/tests/auto/qfileinfo/tst_qfileinfo.cpp
+++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp
@@ -1395,7 +1395,7 @@ void tst_QFileInfo::ntfsJunctionPointsAndSymlinks_data()
wchar_t errstr[0x100];
DWORD count = FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM,
0, err, 0, errstr, 0x100, 0);
- QString error(QString::fromUtf16(errstr, count));
+ QString error(QString::fromWCharArray (errstr, count));
qWarning() << error;
//we need at least one data set for the test not to assert fail when skipping _data function
QDir target("target");