path: root/src/plugins/imageformats/gif
diff options
Diffstat (limited to 'src/plugins/imageformats/gif')
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/imageformats/gif/qgifhandler.cpp b/src/plugins/imageformats/gif/qgifhandler.cpp
index e895e4f91b..b6322f0f4d 100644
--- a/src/plugins/imageformats/gif/qgifhandler.cpp
+++ b/src/plugins/imageformats/gif/qgifhandler.cpp
@@ -69,7 +69,7 @@ public:
int decode(QImage *image, const uchar* buffer, int length,
int *nextFrameDelay, int *loopCount);
- static void scan(QIODevice *device, QVector<QSize> *imageSizes, int *loopCount);
+ static void scan(QIODevice *device, QList<QSize> *imageSizes, int *loopCount);
bool newFrame;
bool partialNewFrame;
@@ -688,9 +688,9 @@ int QGIFFormat::decode(QImage *image, const uchar *buffer, int length,
Scans through the data stream defined by \a device and returns the image
- sizes found in the stream in the \a imageSizes vector.
+ sizes found in the stream in the \a imageSizes list.
-void QGIFFormat::scan(QIODevice *device, QVector<QSize> *imageSizes, int *loopCount)
+void QGIFFormat::scan(QIODevice *device, QList<QSize> *imageSizes, int *loopCount)
if (!device)
diff --git a/src/plugins/imageformats/gif/qgifhandler_p.h b/src/plugins/imageformats/gif/qgifhandler_p.h
index f19777fa18..9508e9ac92 100644
--- a/src/plugins/imageformats/gif/qgifhandler_p.h
+++ b/src/plugins/imageformats/gif/qgifhandler_p.h
@@ -94,7 +94,7 @@ private:
mutable int nextDelay;
mutable int loopCnt;
int frameNumber;
- mutable QVector<QSize> imageSizes;
+ mutable QList<QSize> imageSizes;
mutable bool scanIsCached;