From 80ceba9a367a59da549b8680780ca5d160d16274 Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Fri, 8 Jun 2012 15:58:38 +0300 Subject: 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 --- tests/auto/gui/text/qzip/tst_qzip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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()); } -- cgit v1.2.3