summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-06-08 15:58:38 +0300
committerQt by Nokia <qt-info@nokia.com>2012-06-08 21:49:58 +0200
commit80ceba9a367a59da549b8680780ca5d160d16274 (patch)
tree1e2f20ea70d82a44ac81bc9b09ddfe9bfefcab9d /tests/auto/gui
parent09992c654db860b22d6b109707462346bfb5ca26 (diff)
QZip: improve reading of zip files, fix some edge cases in writing
This supercede https://codereview.qt-project.org/#change,25111 and fixes some more cases; The autotest crash is fixed as well (but the test itself omitted due to .pro file misconfiguration) Change-Id: I4a3adde18b4f9a8ac9822f700eee71d2a12b9c2c Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
Diffstat (limited to 'tests/auto/gui')
-rw-r--r--tests/auto/gui/text/qzip/tst_qzip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/text/qzip/tst_qzip.cpp b/tests/auto/gui/text/qzip/tst_qzip.cpp
index eef517d15a..30c9cd58d7 100644
--- a/tests/auto/gui/text/qzip/tst_qzip.cpp
+++ b/tests/auto/gui/text/qzip/tst_qzip.cpp
@@ -98,7 +98,7 @@ void tst_QZip::basicUnpack()
QCOMPARE(zip.fileData("test/test.txt"), QByteArray("content\n"));
- fi = files.at(-1);
+ fi = zip.entryInfoAt(-1);
QVERIFY(!fi.isValid());
}