diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2010-04-29 17:14:18 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2010-04-29 17:14:18 (GMT) |
commit | 0d32f1727e50f8e8c252aa208ae811a757671620 (patch) | |
tree | 7eed82f9ba305e1a1b05af39a86cbc770e756b92 /tests | |
parent | 82b3cf4a0fab2a0a54a7596f456e07c22552b50b (diff) | |
download | Qt-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.cpp | 6 |
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; |