summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfileinfo
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qfileinfo')
-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 83b650a..0325948 100644
--- a/tests/auto/qfileinfo/tst_qfileinfo.cpp
+++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp
@@ -1152,9 +1152,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;