summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-04-29 17:14:18 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-04-29 17:14:18 (GMT)
commit0d32f1727e50f8e8c252aa208ae811a757671620 (patch)
tree7eed82f9ba305e1a1b05af39a86cbc770e756b92 /tests
parent82b3cf4a0fab2a0a54a7596f456e07c22552b50b (diff)
downloadQt-0d32f1727e50f8e8c252aa208ae811a757671620.zip
Qt-0d32f1727e50f8e8c252aa208ae811a757671620.tar.gz
Qt-0d32f1727e50f8e8c252aa208ae811a757671620.tar.bz2
Fix compilation errors in tst_qfileinfo
Reviewed-by: Gareth Stockwell
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qfileinfo/tst_qfileinfo.cpp6
1 files 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;