From 0d32f1727e50f8e8c252aa208ae811a757671620 Mon Sep 17 00:00:00 2001 From: Shane Kearns Date: Thu, 29 Apr 2010 18:14:18 +0100 Subject: Fix compilation errors in tst_qfileinfo Reviewed-by: Gareth Stockwell --- tests/auto/qfileinfo/tst_qfileinfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/auto/qfileinfo/tst_qfileinfo.cpp b/tests/auto/qfileinfo/tst_qfileinfo.cpp index 403c5f9..4c651bf 100644 --- a/tests/auto/qfileinfo/tst_qfileinfo.cpp +++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp @@ -1120,9 +1120,9 @@ void tst_QFileInfo::isHidden_data() t << "foobar"; QFile file2(notHiddenFileName); - QVERIFY(file2.open(QIODevice::WriteOnly)) - QTextStream t(&file); - t << "foobar"; + QVERIFY(file2.open(QIODevice::WriteOnly)); + QTextStream t2(&file2); + t2 << "foobar"; } RFs rfs; -- cgit v0.12