diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2010-02-04 10:44:44 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2010-02-04 10:47:45 (GMT) |
commit | 6d1d425e219b0a5e03603f7d708cd740b7d3a3f4 (patch) | |
tree | a1edf09b4f1bdd3097c85d4ea7d03b504f8e553d /tests | |
parent | 47b7af3bfd78c6d4efd3ce93be275a60430679d2 (diff) | |
download | Qt-6d1d425e219b0a5e03603f7d708cd740b7d3a3f4.zip Qt-6d1d425e219b0a5e03603f7d708cd740b7d3a3f4.tar.gz Qt-6d1d425e219b0a5e03603f7d708cd740b7d3a3f4.tar.bz2 |
Cache the sizes of the images in an animated GIF.
Rework the previous commit a bit and include caching of image sizes.
Task-number: QTBUG-6696
Reviewed-by: Kim
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qimagereader/tst_qimagereader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qimagereader/tst_qimagereader.cpp b/tests/auto/qimagereader/tst_qimagereader.cpp index debc090..3e40527 100644 --- a/tests/auto/qimagereader/tst_qimagereader.cpp +++ b/tests/auto/qimagereader/tst_qimagereader.cpp @@ -881,6 +881,7 @@ void tst_QImageReader::gifImageCount() { QImageReader io(":images/trolltech.gif"); QVERIFY(io.imageCount() == 34); + QVERIFY(io.size() == QSize(128,64)); } } #endif |